Hello world
why won't this build...it's a c++.net
//a small C++ program
#include <iostream>
in main()
{
std::cout << "Hello, World" << std::endl;
return 0;
}
i realize this is dumb but grrrrrrrr!
Quote:Original post by grim_reaper7
why won't this build...it's a c++.net
//a small C++ program
#include <iostream>
in main()
{
std::cout << "Hello, World" << std::endl;
return 0;
}
i realize this is dumb but grrrrrrrr!
Try using int as return type for main().
Let me guess ... you saw "Visual" in the name of the forum, so you thought it was a Visual C++ forum ?
Good Lord, no wonder you missed such a simple typo...
Good Lord, no wonder you missed such a simple typo...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement