moving to the C++ section for actual help. i'll give you a 1 hour redirect.
I've been learning on how to make hacks with C++, but everytime I type in
#include <iostream>
int main()
{
cout << "Hello World!\n";
return 0;
}
It gives me aleast two errors, and when i try to fix the errors, i end up getting more errors. I'm pretty sure its because of my Enviroment Options but i dont know how to get to it and change it. I'm using both Microsoft Visual C++ 2008 Express Edition and Bloodshed Dev-C++.
Post your errors, we can't just magically retrieve them.
I see a error right away, you just got cout instead of std::cout, that ought to render a error. If you want to be lazy and only write cout, you need to add: using namespace std; (preferably before your main).
That should work.Code:#include <iostream> using namespace std; int main() { cout << "Hello World!\n"; << endl; return 0; }
jokerskull123 (01-21-2010)