Learn C++ for Game Development by Bruce Sutherland

Learn C++ for Game Development by Bruce Sutherland

Author:Bruce Sutherland
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


b=str.empty()

Returns true if size() == 0.

Note: str is a string, n is a number, c is a single character, and b is a boolean.

This set of methods allows you to determine the size of your strings and the amount of memory being used by your string data. They also allow you to modify the memory requirements of your strings. Table 13-2 shows the methods you can use to modify your strings.Table 13-2.basic_string Modifiers

Method

Description

str&=str.append(str)

Append a string to the current string.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.