im trying to learn C++ and im creating some useless application to test. Im 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!!
Aucun commentaire:
Enregistrer un commentaire