home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
stl453up.zip
/
stl453fx
/
test
/
regression
/
strass1.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
2002-04-29
|
178b
|
10 lines
#include <string>
int main()
{
std::string str1 = "string";
std::string str2;
str2.assign(str1.begin(), str1.begin() + 3);
return 0;
}