2014年7月8日

qt解决中文乱码

摘要: #include #include #include "mainwindow.h"intmain(intargc,char*argv[]){QApplication a(argc, argv);// 以下部分解决中文乱码QTextCodec::setCodecForTr(QTextCodec::co... 阅读全文

posted @ 2014-07-08 16:57 wlcaption 阅读(251) 评论(0) 推荐(0) 编辑

二维数组及指针分析

摘要: 定义 变量名 类型 数组对应的指针类型 取地址后的类型int a[3][2]; a int[3][2] int (*const)[2] int (*const)[3][2]int (*a1[3])[2]; ... 阅读全文

posted @ 2014-07-08 09:46 wlcaption 阅读(251) 评论(0) 推荐(0) 编辑

导航