+ 1
Como se puede comparar tipos de datos en c++. Por ejemplos: int a; if(a==int){}
3 Antworten
+ 4
Can you write your question in english i didn't understood your question .
0
Your question is in Spanish. I will answer you in English.
You can use typeid operator. Include the library typeinfo.
#include <typeinfo>
...
std::cout << typeid(variable).name();
0
gracias