prog.cpp: In function 'int main(int, char**)':
prog.cpp:3:2: error: 'string' is not a member of 'std'
std::string default_fname = "CRACKME.EXE";
^
prog.cpp:4:2: error: 'vector' is not a member of 'std'
std::vector<std::string> params(argv, argv+argc);
^
prog.cpp:4:14: error: 'string' is not a member of 'std'
std::vector<std::string> params(argv, argv+argc);
^
prog.cpp:4:49: error: 'params' was not declared in this scope
std::vector<std::string> params(argv, argv+argc);
^
prog.cpp:8:3: error: 'cout' is not a member of 'std'
std::cout << "in if" << std::endl;
^
prog.cpp:8:27: error: 'endl' is not a member of 'std'
std::cout << "in if" << std::endl;
^
prog.cpp:9:3: error: 'default_fname' was not declared in this scope
default_fname = params[1];
^
prog.cpp:12:8: error: 'default_fname' was not declared in this scope
patch(default_fname);
^
prog.cpp:12:21: error: 'patch' was not declared in this scope
patch(default_fname);
^
prog.cpp:13:2: error: 'cout' is not a member of 'std'
std::cout << default_fname << std::endl;
^
prog.cpp:13:32: error: 'endl' is not a member of 'std'
std::cout << default_fname << std::endl;
^