Hi, I normally post at the IGN boards for games, but recently I semi-quited games(school reasons) and thought of getting serious with C++ because I want to become a game designer in the future. I know its going to take a lot of hard work and time but I know I can do it. My favorite games are Zelda: OOT, Chrono Trigger/Cross, Xenogears, al Final Fantasies, and Earthbound.
Nice to meet you guys. :D ... :twisted:
Now here is my question.
Im doing the traditional first program, known as "Hello World"
I type this on the editor:
#include <iostream>
//tells me there is an error on this line, which is blank
int main()
{
std::cout << "Hello World!\n";
return 0;
}
I compile it and it says that there is an error. I am also trying to save the compiled code to an obj. file so I can link it but there isnt an option to save it as that. can you help me out? I am using a downloaded version of Dev-C++ btw and the book I am using is 'Sams Teach Yourself C++ 4th edition in 21 days'.