I dont have a compiler on this computer, but it looks like those are namespace errors. try "using namespace std"