String declaration problem | Sololearn: Learn to code for FREE!
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:)

18th Dec 2016, 5:59 PM
Umang Majumder
Umang Majumder - avatar
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
22nd Dec 2016, 3:08 AM
MEDHIR
MEDHIR - avatar
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 ;)
18th Dec 2016, 6:21 PM
Blaze Tutours
Blaze Tutours - avatar