Search code examples
Avoid Copying string from ostringstream...


c++stdstringostringstream

Read More
snprintf to pre-sized std::string doesn't work?...


c++printfstdstring

Read More
std::string formatting like sprintf...


c++stringformattingstdstringstd

Read More
How do you construct a std::string with an embedded null?...


c++nullstdstring

Read More
Does std::string have a null terminator?...


c++stringnullstdstringnull-terminated

Read More
Is it safe to pass an `std::string` temporary into an `std::string_view` parameter?...


c++c++17stdstringstring-view

Read More
C++ const std:string& security when passing to a third-party API...


c++stringsecuritystdstring

Read More
std::string from const char* with zero allocation...


c++allocationstdstring

Read More
I want to convert std::string into a const wchar_t *...


c++stlwchar-tstdstring

Read More
Getting random symbols after trying to replace chars in C++...


c++loopscharnested-loopsstdstring

Read More
Unicode characters, C++ and libcurl...


stringunicodeencodingstringstreamstdstring

Read More
How can I format a collection as a string efficiently in C++?...


c++string-formattingstdvectorstdstringfmt

Read More
Setting an std::string variable value from gdb?...


c++stringdebugginggdbstdstring

Read More
Is data returned by std::string::c_str() still valid after the string is moved?...


c++move-semanticsstdstring

Read More
c_str() returns nothing, but string not empty...


c++stdstringnull-terminated

Read More
How do I make my terminal quit on an empty cin input in c++?...


c++terminalstdstringis-empty

Read More
Legal to overwrite std::string's null terminator?...


c++c++11language-lawyerstdstring

Read More
How to convert a string to map to its respective enum type integer?...


c++arraysenumsstdstringstdarray

Read More
How to replace all occurrences of a character in string?...


c++algorithmstr-replacestdstring

Read More
Disable std:string's SSO...


c++stringstdstring

Read More
How to stringify the value of a variable?...


c++stringstdmapstdstringstd-pair

Read More
Why does std::string have a length() member function in addition to size()?...


c++stringstdstdstringstring-length

Read More
How do I get the number of different or common elements between two vectors of strings?...


c++stdstdvectorstdstring

Read More
Is std::basic_string a ReversibleContainer?...


c++language-lawyerstdstring

Read More
Convert a number to a string with specified length in C++...


c++integerstdstring

Read More
C++: how to get fprintf results as a std::string w/o sprintf...


c++unixformatprintfstdstring

Read More
How to iterate over std::string const& in a function?...


c++stdstdstring

Read More
Why do I get a compiler error when including <string.h> and using std::basic_string?...


c++stdstring

Read More
How to convert a std::string to const char* or char*...


c++stringcharstdstring

Read More
Why can you assign nullptr to std::string?...


c++stringc++11stdstringnull-pointer

Read More
BackNext