Hi, I've decided to get stuck into learning the C++ language, I've downloaded and installed Microsoft Visual C++ express along with the Windows SDK and configured express to use it.
Now all i'm trying to do is execute this simple "hello world" program,
-------------------------------
-------------------------------Code:#include <iostream.h> using namespace std; int main() { cout << "Hi"; cin.get(); return 1; }
However the debugger is giving me this;
'Hello World.exe': Loaded 'C:\Documents and Settings\Gareth\My Documents\Visual Studio 2005\Projects\Hello World\Hello World\Debug\Hello World.exe', Symbols loaded.
'Hello World.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'Hello World.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'Hello World.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc 8b3b9a1e18e3b_8.0.50215.4652_x-ww_a12cf373\msvcr80d.dll', No symbols loaded.
'Hello World.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
The program '[2784] Hello World.exe: Native' has exited with code 0 (0x0).
I get a command window open but it instantly closes itself again.
any ideas?
Thanks, Gareth.