I'm trying to learn C++ and I'm creating some useless application to test.
I'm working with const char
and arguments, and in this code I can't get the title string.
const char* title = "";
if (argc >= 3) {
string tittle(argv[2]);
title = tittle.c_str();
}
Please help me!