摘要: 转换成二进制,取其补码即可 #include <iostream> using namespace std; int main() { signed char sc=-160; unsigned char uc=sc; cout<<(int)uc<<endl;//96 //10100000 160 阅读全文
posted @ 2021-05-31 23:20 youlj 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 创建一个空项目即可,更改项目属性: 头文件 #pragma once #define DLL_EXPORT #if defined (DLL_EXPORT) #define GIRLAPI _declspec(dllexport) #else #define GIRLAPI _declspec(dl 阅读全文
posted @ 2021-05-31 14:21 youlj 阅读(52) 评论(0) 推荐(0) 编辑