I want to compare user input (text) with already declared string in c++ under linux (code::blocks) i made something like this, but it doesn't work
int LoadModule()
{
string test1 = "LOAD DEFAULT DATABASE";
string test2;
cout << "select cmd: " << endl;
cin >> test2;
//todo: compare thoose 2 strings. And if they are equal, print "done"
return 0;
}