SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the typeid operator:
#include <typeinfo> ... cout << typeid(variable).name() << endl;