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 connection
String connection
Nov 28, 2012 at 1:36pm UTC
deividaxas
(11)
how to add up to strings let's say i have string1="Hello " and string2="World!"
what should i do to 'connect' them?
Nov 28, 2012 at 1:45pm UTC
closed account (
3qX21hU5
)
string3 = string1 + string2;
Last edited on
Nov 28, 2012 at 1:47pm UTC
Nov 28, 2012 at 1:45pm UTC
Darkmaster
(564)
string1 + string 2
or append, if those are c-strings
Last edited on
Nov 28, 2012 at 1:45pm UTC
Topic archived. No new replies allowed.