摘要:
转换成二进制,取其补码即可 #include <iostream> using namespace std; int main() { signed char sc=-160; unsigned char uc=sc; cout<<(int)uc<<endl;//96 //10100000 160 阅读全文
摘要:
创建一个空项目即可,更改项目属性: 头文件 #pragma once #define DLL_EXPORT #if defined (DLL_EXPORT) #define GIRLAPI _declspec(dllexport) #else #define GIRLAPI _declspec(dl 阅读全文