【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.3.15.5 string::Empty
Contents
Description
Make this string object an empty string (0 length) and free memory as appropriate.
Syntax
void Empty( )
Parameters
Return
Examples
EX1
void string_Empty_ex1() { string str = ("This is a testing case."); str.Empty(); int len = str.GetLength(); out_int("The length of the string is ", len);//len = 0 }
Remark
See Also
Header to Include
origin.h