std::string
Owning, growable text string.
Beginner
s += "V"; s.find("mA"); s.substr(0, 3); std::to_string(3.3); Small strings avoid heap allocation (SSO).
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.