Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
typeid
//g++ 4.9.3 //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
stack and queue
Bin Tree build
5345
Simple use of function templete and namespace
const test
BindWithContainer
informatika / Cinta Avrille X MIPA 5
Deque RotateString
Test 8(2010)
Question 1