+ 1

String manipulation in c++

Can anyone provide me with helpful links regarding string manipulation in C++ There are a lot of code coach problems regarding that but the tutorial given here doesn't go into much detail on strings. Any help would be appreciated.

13th Jan 2020, 7:55 PM
Muhammad Ozair Attiq
Muhammad Ozair Attiq - avatar
2 odpowiedzi
+ 1
An official documentation should be your best friend. First, the official std::string class: https://en.cppreference.com/w/cpp/string/basic_string The old string library from C includes some functions for checking for certain characters or transforming characters to upper-/ lowercase: https://en.cppreference.com/w/c/string/byte std::getline() is useful when you want to read in strings with spaces: https://en.cppreference.com/w/cpp/string/basic_string/getline Stringstreams can also occasionally be helpful to you: https://en.cppreference.com/w/cpp/io/basic_stringstream And last, certain functions from the algorithm header work well in combination with strings: https://en.cppreference.com/w/cpp/algorithm
13th Jan 2020, 8:41 PM
Shadow
Shadow - avatar
0
Online learning and result updates in all institutes of Pakistan https://dictionary.result.pk/ .
6th Feb 2023, 6:39 AM
jabbar hussain