QT 总结(一)(1.某位设1或0 2.加载dll、lib库 3.char * 转换为 wchar_t * 4.textBrowser 显示乱码 追加 5.checkBox的使能)
今天写小程序遇到的问题,做个小总结:1.如何对某一位置0或者置1?写成宏,方便移植#definesetbit(x,y)x|=(1
#include
#include
#include
#include"dll.h"//引入头文件
typedefint(*Fun)(int,int);//定义函数指针,以备调用
intmain(intargc,char**argv)
{
QApplicationapp