I just started to use VS.NET to write some C++ and when i build my project (Win 32 Console Application) and run it it just turns off right away. This is not what VS 6 did. There was a prompt telling you to "press any key to continue".
This is what i see after i run the program.
"'2_21.exe': Loaded 'C:\Documents and Settings\Neil\My Documents\Visual Studio Projects\2_21\Debug\2_21.exe', Symbols loaded.
'2_21.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'2_21.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
The program '[3632] 2_21.exe: Native' has exited with code 0 (0x0)."
Can anyone tell me what im doing wrong here?
This is my test program thats not running:
Code:
#include <iostream.h>
int main()
{
int i;
for(i = 0; i < 10; i++)
{
cout << i;
}
return 0;
}