Hi.

Is there an alternate solution for variable variables in C ( or C++) like $$ in Php?

No. That feature does not exist in C or C++ languages. In C++ the nearest thing I can think of would be <map> that maps a name with a string (or other item). But that's not really the same because you can't use it like a variable.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.