So I'm a wannabe C++ programmer who just got started with Microsoft Visual C++ 2010 Express. I wrote my "Hello World!" program, but it failed. This is exactly what I wrote:
1 2 3 4 5 6 7 8 9 10
// my first program in C++
#include <iostream>
usingnamespace std;
int main ()
{
cout << "Hello World!";
return 0;
}
I've searched around online for the solution, and the most common problem is that the programmer forgot the main (), but I included that. The other problem is something to do with the "linker" not being able to find the "library", but that's where I get lost. I apologize for my utter ineptitude, but I really have no experience with programming in any language whatsoever. All I know is created a new file, entered the code, and it failed. Help?