Compile C program in Visual Studio 2005
- From: Nicholas Zhou <zhou.128@xxxxxxx>
- Date: Tue, 16 Jan 2007 18:48:35 -0500
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
.
- Follow-Ups:
- Re: Compile C program in Visual Studio 2005
- From: Nelu
- Re: Compile C program in Visual Studio 2005
- From: Scooter
- Re: Compile C program in Visual Studio 2005
- Prev by Date: Re: An implementation where sizeof(short int) does not divide sizeof(int)
- Next by Date: Re: Illegal double increment operation???
- Previous by thread: Counting poker hands
- Next by thread: Re: Compile C program in Visual Studio 2005
- Index(es):
Relevant Pages
|