0
Strings as a function parameter
hello guys 🙏PLEASE GUIDE ME 🙏 how can I use a string as a parameter in functions in C++
8 Respostas
+ 10
luka, #include <string> instead of iostream twice? *confused*
+ 8
Thx, I just thought I was to tired to get it :D
+ 3
Maybe, you need to include #include <string> library at the top?
+ 2
void example(string x){}
- 1
ok but those are not work