I want to add string in turbo c++ plz tell how i add string in turbo c++; in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I want to add string in turbo c++ plz tell how i add string in turbo c++; in c++

application using = turbo c++ want to use in =c++

26th Jan 2018, 5:01 AM
kalpesh Dharpure
kalpesh Dharpure - avatar
8 Answers
0
#include <string> ?
26th Jan 2018, 5:09 AM
BlazingMagpie
BlazingMagpie - avatar
0
I add this but there is error I using turbo c++
26th Jan 2018, 5:10 AM
kalpesh Dharpure
kalpesh Dharpure - avatar
0
error is unable to open include file 'string' string cannot start a parameter delaration type name expected declaration missing ; undefined symbol 'name'
26th Jan 2018, 5:17 AM
kalpesh Dharpure
kalpesh Dharpure - avatar
0
Does your code have to be in turbo? Apparently it's so old it doesn't even use standardized c++, hence the random errors like this.
26th Jan 2018, 5:23 AM
BlazingMagpie
BlazingMagpie - avatar
0
ya because of my clg says that use tubo c++
26th Jan 2018, 5:27 AM
kalpesh Dharpure
kalpesh Dharpure - avatar
0
Ok, I've read a little and the issue is that string type didn't exist at that time. You have to make either your own string class or use char arrays like in ye olde times
26th Jan 2018, 5:32 AM
BlazingMagpie
BlazingMagpie - avatar
0
ya I want use arrey but how can I do give me the code !!
26th Jan 2018, 5:33 AM
kalpesh Dharpure
kalpesh Dharpure - avatar
0
thanks if it's correct I reply you when I going to compile tnx bro
26th Jan 2018, 5:44 AM
kalpesh Dharpure
kalpesh Dharpure - avatar