Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
typeid VC++
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86 #include <iostream> #include <typeinfo> using namespace std; int main() { cout << "typeid(char).hash_code(): " << typeid(char).hash_code() << endl; cout << "typeid(char).name(): " << typeid(char).name() << endl; cout << "typeid(char).raw_name(): " << typeid(char).raw_name() << endl; cout << "typeid(short).hash_code(): " << typeid(short).hash_code() << endl; cout << "typeid(short).name(): " << typeid(short).name() << endl; cout << "typeid(short).raw_name(): " << typeid(short).raw_name() << endl; cout << "typeid(long).hash_code(): " << typeid(long).hash_code() << endl; cout << "typeid(long).name(): " << typeid(long).name() << endl; cout << "typeid(long).raw_name(): " << typeid(long).raw_name() << endl; cout << "typeid(long long).hash_code(): " << typeid(long long).hash_code() << endl; cout << "typeid(long long).name(): " << typeid(long long).name() << endl; cout << "typeid(long long).raw_name(): " << typeid(long long).raw_name() << endl; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Arrays
RVO hota hai bhenchod
#27
Hangman
Dequeue Using STL List
xxx
base call virtual
seh exception in constructor memory leak
Wrong type deduction of std::valarray expression
#8
Please log in to post a comment.