I'm trying to run a C++ program in Windows (using the gcc compiler).On the six line of code below:
char a[1];
cout << "Vui long nhap mot chu cai:";
cin >>a;
if(strupr(a)) {
strlwr (a);
cout "Chu cai cua ban sau khi in thuong la:" << strlwr(a) << endl;
return 0;
}
return 0;
error: expected ';' before string constant
#include #include <string.h>
I DONT Know Pls help me
Aucun commentaire:
Enregistrer un commentaire