cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
C's strdup() equivalent in C++
C's strdup() equivalent in C++
Nov 18, 2019 at 4:19am UTC
marhuum
(181)
What is strdup() equivalent in C++?
Nov 18, 2019 at 4:33am UTC
salem c
(3700)
Assignment.
You just do
s2 = s1
and voila, instant copy of a string.
Topic archived. No new replies allowed.