you are not following given instructions
I am just asking doubts..! I am learning c++ from youtube .
check the pinned message and suggested books/references.
and learn about object oriented programming problems and details of std::string implementations which all are documented waits for your research.
There are many functions to manipulate/work with C strings.
Btw, you should see a margin between c and c++. for more functions you can check cstring header. Also if you'd need to manipulate a string std:: string is probably the better option. Usually I use char arrays only when I need to define a constant string (moreover, by marking them constexpr the string will be created on compile time which is not possible with std::string)
Обсуждают сегодня