Should we use char[] arrays or string? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Should we use char[] arrays or string?

1st Oct 2016, 8:22 PM
smileyface
smileyface - avatar
3 Answers
+ 2
the easier way is use string and vector
1st Oct 2016, 10:08 PM
Navid Tak
Navid Tak - avatar
+ 1
In c++, use char[] arrays. It will teach you what a string actually is. Hint, hint.
1st Oct 2016, 8:45 PM
Mythos
0
ohhhh.... So i guess string. :)
4th Oct 2016, 12:54 AM
smileyface
smileyface - avatar