cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
string find question
string find question
Nov 30, 2014 at 8:25pm UTC
LATCH100
(81)
can someone explain to me how theString.assign(str, n); works?
Nov 30, 2014 at 9:57pm UTC
wildblue
(1505)
There's an example here if this is what you are looking for.
http://www.cplusplus.com/reference/string/string/assign/
The first n characters of str are copied.
Topic archived. No new replies allowed.