I just got the newest version of Dev-C++, I tried compiling a little program...and it gives me a stupid error. Here is my code:
Everytime I try to compile it, it gives me this error:
Im confused
EDIT: It compiled fine in my old version....but not the new one.
~ROSEBLOOD
Code:
#include <iostream>
using namespace std;
int main()
{
for(int i = 0; i <=100; i++)
{
cout << i << endl;
}
cin.get();
}
Everytime I try to compile it, it gives me this error:
9 C:\Documents and Settings\**\My Documents\C++\print1-100.cpp ` cout' undeclared (first use this function)
9 C:\Documents and Settings\**\My Documents\C++\print1-100.cpp ` endl' undeclared (first use this function)
11 C:\Documents and Settings\**\My Documents\C++\print1-100.cpp ` cin' undeclared (first use this function)
Im confused
EDIT: It compiled fine in my old version....but not the new one.
~ROSEBLOOD