DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
string copy in cpp
//use '=' to copy string
string s1
=
{
"Hello"
}
;
string s2
;
s2
=
s1
;
//now s2 will have a copu s1
Source by softhunt.net #
PREVIOUS
NEXT
Tagged:
#string
#copy
#cpp
ADD COMMENT
Topic
COMMENT
Name
2+8 =
Submit