+ 1

Como se puede comparar tipos de datos en c++. Por ejemplos: int a; if(a==int){}

2nd Oct 2020, 3:30 AM
Daniel Briceño
Daniel Briceño - avatar
3 Answers
+ 4
Can you write your question in english i didn't understood your question .
2nd Oct 2020, 4:49 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
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();
2nd Oct 2020, 5:05 AM
Paulo Chiliguano
Paulo Chiliguano - avatar
0
gracias
2nd Oct 2020, 10:58 AM
Daniel Briceño
Daniel Briceño - avatar