I want to make program which analyzes every letter of the text which has been written by the user of the program. So for example, someone types “hello there”. Is there a way to put all these letters in some array? For example, myArray[0]=h, myArray[1]=e,…
Thank you
I want to make program which analyzes every letter of the text which has
Share
You can use
std::stringjust like an array, but it’s dynamic, knows its size, and is a lot more flexible.For a complete reference on
std::string, see here.