![]() |
Home | Libraries | People | FAQ | More |
Change the size of the string.
void resize( size_type n, value_type c);
Resizes the string to contain n
characters. If n >
size(),
copies of c are appended.
Otherwise, size()
is reduced to n.
|
Name |
Description |
|---|---|
|
|
The size to resize the string to. |
|
|
The characters to append if the size increases. |
|
Type |
Thrown On |
|---|---|
|
|
|