I downloaded Eclipse plus the MinGW files but when I type the following code, it doesn't work and gives errors saying [iostream], [using] and [cout] are undefined :[
1 2 3 4 5 6 7 8 9 10 11
/*Game Over
by Tomn*/
#include <iostream>
usingnamespace std;
int main()
{
cout << ("Game Over!"); /* prints Game Over! */
return 0;
}
Did you play around with the settings, change the directories or header files or something when you installed the IDE?
Does it recognise the #include <iostream> and change the colour after you put it in?
So to anyone who was wondering, it worked after I made sure the file ended w/ ".cpp" (D'oh!) and after I got some Eclipse updates (Which I got automatically after opening up Eclipse today) :)