c/c++

To check the type of a variable in C++, you can use typeid(variable).name(), for example #include <typeinfo> … … int b=9; char c=’a’; char * p=&c; int *d; printf(“%s\n”,typeid(b).name()); printf(“%s\n”,typeid(c).name()); […]

You must know they are all related to unicode but how to use them? UNICODE definition is used in Windows SDK source code. If it is defined, functions like RegSetValueEx […]

Now, I got this error when building using CMake: error C2039: ‘string_view’: is not a member of ‘std’ string_view is a new feature of C++17 which must be enabled for […]