Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C++
c++ get type name of object
YenTheFirst
Programming language:
C++
2021-05-01 11:36:18
0
Q:
c++ get type name of object
Jez
Code:
C++
2021-03-25 12:41:38
#
include
<iostream>
int
main
()
{
int
myNum;
std
::
cout
<<
typeid
(myNum).name();
return
0
; }
0
Tags
object
name
get
type
Related
how to check datatype of a variable in c++
c++ typeid get type name
New to Communities?
Join the community