Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
user:ptacek:c [2007/03/14 11:20] ptacek |
user:ptacek:c [2007/03/14 11:33] (current) ptacek |
||
---|---|---|---|
Line 2: | Line 2: | ||
< | < | ||
- | string -> char * = std:: | + | #include < |
+ | use namespace std; | ||
+ | string(); | ||
+ | string( const string& s ); | ||
+ | string( size_type length, const char& ch ); | ||
+ | string( const char* str ); | ||
+ | string( const char* str, size_type length ); | ||
+ | string( const string& str, size_type index, size_type length ); | ||
+ | string( input_iterator start, input_iterator end ); | ||
+ | ~string(); | ||
+ | |||
+ | |||
+ | string str1( 5, ' | ||
+ | string str2( "Now is the time..." | ||
+ | string str3( str2, 11, 4 ); | ||
+ | |||
+ | |||
+ | string -> (char *) = std:: | ||
</ | </ |