Relative Content

Tag Archive for c++typesauto

declaring a variable with a specified type in c++

Initially seems like very trivial problem.
i have input: string a, string b.
b only takes two values, “string” and “int”.
i want to declare a new variable var0 with a type that corresponds to b.