Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ get type name of object

#include <iostream>

int main() {
	int myNum;
  	std::cout << typeid(myNum).name();
  	return 0;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #type #object
ADD COMMENT
Topic
Name
6+7 =