上一页 1 ··· 91 92 93 94 95 96 97 98 99 ··· 133 下一页
摘要: 一、全局变量 1、在Mymethod.h中 extern QString REAL_DB_PATH; 2、在Mymethod.cpp中【必须做这一步,这一步是为变量分配空间,如果不分配空间,使用的时候编译不过】 QString REAL_DB_PATH = ""; 3、在需要使用的地方,#inclu 阅读全文
posted @ 2018-06-20 14:50 朱小勇 阅读(209) 评论(0) 推荐(0)
摘要: #include <math.h>int 型int abs(int x);long 型long labs(int x);浮点数 float doubledouble fabs(double x); 阅读全文
posted @ 2018-06-20 11:01 朱小勇 阅读(203) 评论(0) 推荐(0)
摘要: 转:https://blog.csdn.net/caoshangpa/article/details/51104022 一、使用extern关键字 cglobal.h #ifndef CGLOBAL_H #define CGLOBAL_H extern int testValue; #endif / 阅读全文
posted @ 2018-06-15 17:03 朱小勇 阅读(538) 评论(0) 推荐(0)
摘要: 属性 最大值 Microsoft Access 数据库 (.mdb) 文件大小 2G 字节减去系统对象所需的空间。 数据库中的对象个数 32,768 模块(包括“内含模块”属性为“是”的窗体和报表) 1,000 对象名称中的字符数 64 密码的字符个数 14 用户名或组名的字符个数 20 并发用户的 阅读全文
posted @ 2018-06-15 09:12 朱小勇 阅读(502) 评论(0) 推荐(0)
摘要: 降序:select * from 表 Order by 字段 DESC升序:select * from 表 Order by 字段 ASC ps:升降序查询的含义是先将表升降序再查询 阅读全文
posted @ 2018-06-14 09:39 朱小勇 阅读(492) 评论(0) 推荐(0)
摘要: SQL: SELECT * FROM table LIMIT 5; //检索前 5 个记录行 SELECT * FROM table LIMIT 95,-1; // 检索记录行 96-last. SELECT * FROM table LIMIT 5,10; //检索记录行6-15 Access:【 阅读全文
posted @ 2018-06-13 17:48 朱小勇 阅读(1902) 评论(0) 推荐(0)
摘要: 1、下载VisualSVN工具并安装 https://www.visualsvn.com/visualsvn/download/ 2、将代码传到svn服务器中 3、查看项目svn地址,直接项目右键属性 4、打开VS,上面有VISUALSVN,点击,Get Solution from Subversi 阅读全文
posted @ 2018-06-13 13:47 朱小勇 阅读(2341) 评论(0) 推荐(0)
摘要: 1、把下列文件放在工程中【已上传到我的文件中】 2、代码 3、效果 注意要在ui或者代码里设置列数,否则界面全空 4、为了配合上述,给出下列QHeaderView函数,这里转:https://blog.csdn.net/psujtfc/article/details/43764559 1 . voi 阅读全文
posted @ 2018-06-12 20:25 朱小勇 阅读(16192) 评论(18) 推荐(3)
摘要: Json文件是这样: { "first fruit": { "describe":"an apple", "icon":"appleIcon", "name":"apple" }, "second fruit": { "describe":"an orange", "icon":"orangeIco 阅读全文
posted @ 2018-06-12 10:16 朱小勇 阅读(435) 评论(0) 推荐(0)
摘要: 加入预处理器(项目属性 C/C++ 预处理 预处理器定义): _SCL_SECURE_NO_WARNINGS 阅读全文
posted @ 2018-06-11 13:44 朱小勇 阅读(1049) 评论(0) 推荐(0)
上一页 1 ··· 91 92 93 94 95 96 97 98 99 ··· 133 下一页