Commands
hey people i try to make another command but it don't work i have stringed it btw
thanks
Code:
//HELP
if(line == "/help")
{
cout<<"command list\n /info - information of program\n /help - list of commands"<<endl;
main();
}
else
{
cout<<"Failed To Get Command"<<endl;
main();
}
//info
if(line2 == "/info")<--- This Don't Work
{
cout<<"test line1"<<endl;
main();
}
else
{
cout<<"test line2"<<endl;
main();
}
