First rule of coding: a vague error description is barely any better than no description at all. Always give the exact error in question. In this case, it's probably because you didn't #include <iostream>, or didn't use 'using namespace std;', or maybe something else.
|