Copy a string: Difference between revisions

(→‎{{header|C}}: Another reference to an existing string)
(→‎{{header|C++}}: Subheaders)
Line 99:
 
=={{header|C++}}==
=== Using only standard facilities ===
 
'''Libraries:''' C++ Standard Library
#include <string>
Line 157 ⟶ 159:
// get rid of temporary buffer
free(cs); // delete or delete[] may not be used here
 
=== Using string types supplied by specific compiler-provided or external libraries ===
 
'''Libraries:''' [[Qt]]
973

edits