+ 5
Fstream problem
I tried to use fstream on my android device with cppdroid to read a text file contains words . It works but the size of strings that I had read is bigger than the original size ex: text file : hello output hello size of string 8 how can I solve this <sorry for the bad language>
1 Réponse
+ 1
The size is probably how much space the string takes, not how many characters it contains. Try checking how much space a character takes.