Compile C program in Visual Studio 2005



Sorry if this sounds stupid. I am a total newbie....

Can I compile C program in Visual Studio 2005 IDE? I wrote the simple "Hello World" program in it:

------------------------------------

#include <stdio.h>

main()
{
printf("hello, world!\n");
}

--------------------------------------

When I run it, it gives me the following:

-------------------------------------------------------------------------
'HelloWorld2.exe': Loaded 'D:\VS\Projects\HelloWorld2\debug\HelloWorld2.exe', Binary was not built with debug information.
'HelloWorld2.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'HelloWorld2.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'HelloWorld2.exe': Loaded 'C:\WINDOWS\system32\apphelp.dll', No symbols loaded.
'HelloWorld2.exe': Loaded 'C:\WINDOWS\system32\version.dll', No symbols loaded.
The thread 'Win32 Thread' (0x4e8) has exited with code 0 (0x0).
The program '[5968] HelloWorld2.exe: Native' has exited with code 0 (0x0).

-------------------------------------------------------------------------


Any suggestions? Please advice. Thanks a million!

Regards,

Nick
.



Relevant Pages

  • Re: Base64Decode in VS6
    ... > i have my VS6 project file. ... > can i open it in the VS2003 IDE and compile it "as is"? ... buying a fresh copy of Visual Studio, ...
    (microsoft.public.vc.atl)
  • C++ .NET 2002 and C++ Toolkit 2003
    ... I would like to use nmake.exe and a makefile to compile a Windows MFC app ... I created a simple dialog based MFC app using the MFC App ... Next I took the compile and link flags that the IDE was using and creating ... C:\Program Files\Microsoft Visual Studio ...
    (microsoft.public.vc.ide_general)
  • how to compile with Visual Studio 6.0 my VB6 project
    ... visual Studio 6.0 IDE. ... With "compile" I mean to check compilation errors without running my ... Is there a button in the IDE to run such check? ...
    (microsoft.public.vb.general.discussion)
  • Delphi 2005 and C++
    ... "Delphi 2005 can also support additional compilers, ... applications without ever leaving the Delphi 2005 IDE." ... I want to know if it can handle other Visual Studio languages, ... would I be able to compile a Visual Studio C++ project from ...
    (borland.public.delphi.non-technical)
  • Re: BUG: simulink 7.6 (r2010b) and visual c++ 2010 compiler
    ... I have 64-bit Windows 7 and MATLAB R2010b. ... I could compile yprime.c into a mexw64 file and run it. ... I tried to compile simulink code using the VC++ 2008 complier, ...
    (comp.soft-sys.matlab)