source:
CMT/v1r18p20041201/Visual/tstring.cxx
@
604
Last change on this file since 604 was 1, checked in by , 20 years ago | |
---|---|
File size: 266 bytes |
Line | |
---|---|
1 | |
2 | #include "iostream.h" |
3 | |
4 | #include "cmt_std.h" |
5 | #include "cmt_string.h" |
6 | |
7 | int main () |
8 | { |
9 | cmt_string a = "1234567890"; |
10 | |
11 | cmt_string b = a.substr (5); |
12 | |
13 | a.erase (0, 5); |
14 | |
15 | cout << "a=[" << a << "] b=[" << b << "]" << endl; |
16 | |
17 | return 0; |
18 | } |
Note: See TracBrowser
for help on using the repository browser.