Original Post
I recently picked up "C++ for Dummies" by Jeff Cogswell, because I need to start somewhere right? Well i got around 50 pages, it's really easy and quick, but i constantly find things different. If i type exactly what is on the page, to Dev-C++, it doesnt compile and I get a giant amount of errors. Example #include int main () { int i; cin > i; if (i > 10) { cout << "It's greater than 10." << endl; } else if (1 == 10) { cout << "It's equal to 10." << endl; } else { cout << "It's less than 10." << endl; } return 0; } I know this is simple work, but I really need help. When I started like it said, some of the things that it said would be there were altered a bit. (Instead of 'return 0;', i had something like 'return END SUCCESS;' or close to that. And also, there was no mention of what 'using namespace std;' was, and it didnt say if i needed it or not. I just need some clarification on these things.