#include <typeinfo>
...
cout << typeid(variable).name() << endl;
int k;
cout << typeid(k).name() << endl;
Code Example |
---|
Cpp :: cpp mutex |
Cpp :: c++ get the line which call a function |
Cpp :: last character of std::string |
Cpp :: c++ namespace |
Cpp :: integer range in c++ |
Cpp :: float to int c++ |
Cpp :: c++ check if string is isogram |
Cpp :: temperature conversion in c++ |
Cpp :: c++ string split |
Cpp :: new line in c++ |
Cpp :: how to change colour image to grey in opencv c++ |
Cpp :: ascii cpp |
Cpp :: length of array c++ |
Cpp :: list in c++ |
Cpp :: how to say hello world in c++ |
Cpp :: c++ pre-processor instructions |
Cpp :: stl c++ |
Cpp :: c++ get last element in vector |
Cpp :: how to convert string to int in c++ |
Cpp :: cpp get exception type |
Cpp :: lower bound and upper bound in c++ |
Cpp :: how to input in cpp |
Cpp :: how to get euler constant in c++ |
Cpp :: how to convert hexadecimal to decimal in c++ |
Cpp :: why use python |
Cpp :: C++ Arrays and Loops |
Cpp :: Reverse a linked list geeksforgeeks in c++ |
Cpp :: inline function in cpp |
Cpp :: Accessing C++ Array Elements |
Cpp :: delete c++ |