I'm using C ++ 11. I'm wondering if there are any advantages to using cin.getline () compared to gets ().
cin.getline ()
gets ()
I need to fill a char array.
char
Also, should I use fgets or getline for files?
fgets
getline
Aucun commentaire:
Enregistrer un commentaire