+ 1

std::string

Is there any way in c++ to manage our variables I mean for example in input user give us a number and we need to declare strings as many as that number it means when number is for example 8 we should define exactly 8 strings .

9th Apr 2020, 4:59 PM
Severus
Severus - avatar
3 Antworten
+ 3
That's where data structures like array comes into picture.
9th Apr 2020, 5:02 PM
Arsenic
Arsenic - avatar
+ 2
thanks alot
9th Apr 2020, 5:14 PM
Severus
Severus - avatar