Is there a way to create a data type that can holds both integers and strings in C++?
For example, create a data type with name sti
that I can define both integers and strings variables with it:
sti a = 10; //this is integer
sti b = "Hello"; //and this is string