What data type should I use to store a word? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What data type should I use to store a word?

I want someone to be able to input their name using cin but when I use char I only get the first letter.

18th Jun 2019, 2:14 PM
Bryce Prestbury
1 Answer
+ 1
Wow that was quick. Thanks for your help!
18th Jun 2019, 2:16 PM
Bryce Prestbury