Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Hello World Tutorial

$
0
0

Hello,

I am using XP 32-bit, and I've downloaded VC++ 10.0.  I am following a very simple hello world tutorial to familiarize myself with VC++, and it won't compile.

I created a new Windows 32 Console Application and selected empty project, and typed the following code:

#include <iostream>
using namespace std;

int main()
{
    cout<<"Hello World!"<<endl;
    return 0;

}

And then I get these errors:  Any suggestions would be great!

'helloworld.exe': Loaded 'C:\Documents and Settings\Prober\My Documents\C Programs\helloworld\Debug\helloworld.exe', Symbols loaded.
'helloworld.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', Cannot find or open the PDB file
'helloworld.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', Cannot find or open the PDB file
'helloworld.exe': Loaded 'C:\WINDOWS\system32\msvcp100d.dll', Symbols loaded.
'helloworld.exe': Loaded 'C:\WINDOWS\system32\msvcr100d.dll', Symbols loaded.
The program '[1112] helloworld.exe: Native' has exited with code 0 (0x0).


Viewing all articles
Browse latest Browse all 15302

Trending Articles