New course! Every coder should learn Generative AI!
Try a free lesson+ 1
String declaration problem
I am not able to use a string , say STR declared in a particular void Setname in another particular string Getname in a class (both are in public:)
2 Answers
+ 1
In C programming u have to use getcher to declare string...maybe use that in c++ because some functions r same between them
0
can you post here your full code for me to see if I can solve it entirely? if you don't you can send to my email: [email protected] and i'll try to help you ;)