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
Any way of merging char and string w/o c
Any way of merging char and string w/o c_str?
Apr 7, 2014 at 3:42am UTC
Powdertrail
(46)
Precisely what the question says :)
Is there any way to append a char to a string without including c_str ?
Apr 7, 2014 at 4:10am UTC
cire
(8284)
You cannot append a char to a string using
c_str
.
http://www.cplusplus.com/reference/string/string/operator+=/
http://www.cplusplus.com/reference/string/string/append/
http://www.cplusplus.com/reference/string/string/insert/
Topic archived. No new replies allowed.