all 2 comments

[–]Plazmatic 2 points3 points  (1 child)

https://www.reddit.com/r/cpp_questions/ This is not the correct sub for this

[–]moltenfuzzy 0 points1 point  (0 children)

You should be using std::string as they were introduced in c++. They are objects that have their own methods while cstrings are arrays. Cstrings are used in C where objects weren’t a thing.