0

How do I declare a scope for strcpy in C++?

I am not sure what header to use for this error.

24th May 2020, 3:26 PM
Nadi
Nadi - avatar
8 ответов
+ 1
<cstring>
24th May 2020, 3:37 PM
rodwynnejones
rodwynnejones - avatar
+ 1
string str3 = str1 + " " + str2;
24th May 2020, 4:25 PM
rodwynnejones
rodwynnejones - avatar
0
That still gives me an error. I have added that under the #include<iostream>.
24th May 2020, 3:41 PM
Nadi
Nadi - avatar
0
That's interesting. I was taught that strcpy is used for c++ too?
24th May 2020, 4:25 PM
Nadi
Nadi - avatar
0
Ah, I understand how to incorporate strcpy into my C++, code. Thanks for the help tho!
24th May 2020, 4:41 PM
Nadi
Nadi - avatar