c++11
mercredi 6 décembre 2017
How to generate a string with user specifying the length in c++?
include
include
int main()
{
int size;
string str;
cin>>str;
string ( size, str);
cout<< str;
return 0;
}
Aucun commentaire:
Enregistrer un commentaire
Article plus récent
Article plus ancien
Accueil
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire