The if-statement is giving me an error and I don't know why. Is it possible something is not imported? The for loop is giving me a notice saying, "range-based loop for loop is a C++11 extension".
string line;
string temp = "";
string beginning_time;
void convertTimeintoInt(string beginning_time)
{
for(char a : beginning_time)
{
if(a == ":")
continue;
else
temp += a;
}
}
Aucun commentaire:
Enregistrer un commentaire