上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 20 下一页
摘要: caption 标题field 字段policy 规则emergency 紧急程序中添加 串口模块: qt += serialport命名空间宏定义: QT_BEGIN_NAMESPACE QT_END_NAMESPACE QT_USE_NAMESPACE//Returns a list of av 阅读全文
posted @ 2019-10-10 08:24 countryboy666 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 在build.gradle文件中 minSDkversion 10 修改版本andriod 版本号点击sysnc now 更换主界面,在app/src/main/AndriodManifes.xml <activity android:name=".login2Activity"> <intent- 阅读全文
posted @ 2019-09-24 08:16 countryboy666 阅读(181) 评论(0) 推荐(0) 编辑
摘要: // 只能用一个类名 和文件名一致// 模块export andri//定义一个类 在外界调用public class HelloJava{ // 主方法 public static void main(String args[]) { System.out.printIn("Hello java" 阅读全文
posted @ 2019-09-23 07:23 countryboy666 阅读(333) 评论(0) 推荐(0) 编辑
摘要: qt串口通信:#ifdef _TTY_POSIX#include "posix_qextserialport.h"#define QextBaseType Posix_QextSerialPort #else#include "win_qextserialport.h"#define "QextBa 阅读全文
posted @ 2019-09-15 18:13 countryboy666 阅读(273) 评论(0) 推荐(0) 编辑
摘要: (1)算法与数据结构:任务的安排,不要先入先出。采用优先队列加密货币,区块链。必要条: 算法与数据及结构。算法和数据结构是有用和有趣的。 Binary Tree 链表和数结合区块链。(2)如何事半功倍的学习算法《outliers》chunk it up 切碎成知识点Deliberate practi 阅读全文
posted @ 2019-09-15 12:14 countryboy666 阅读(247) 评论(0) 推荐(0) 编辑
摘要: #pragma once是一个比较常用的C/C++预处理指令,只要在头文件的最开始加入这条预处理指令,就能够保证头文件只被编译一次。 宏定义的优点:方便程序的修改提高运行效率 日志宏:#include <stdio.h>#define MacroLog(...)\{ \FILE* file;\fop 阅读全文
posted @ 2019-09-13 12:15 countryboy666 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 封装的dll 都需要有相应的释放内存的函数。 制作dll_declspec(dllexport): .h .c 都需要添加 给提供外部的接口上面加上:dll_declspec(dllexport): gcc -c test.c -o test.o -fPIC (生成与位置无关的代码) gcc -sh 阅读全文
posted @ 2019-09-12 09:22 countryboy666 阅读(136) 评论(0) 推荐(0) 编辑
摘要: TLV教师结构的编码和解码:链表的节点 write_Inter()writeprintable(ANYBUF *String, )整形 编码: writeSequence() 释放空间:Free_Queue() int EnCodeChar(char *pData,unit dataLen, ANY 阅读全文
posted @ 2019-09-11 08:14 countryboy666 阅读(117) 评论(0) 推荐(0) 编辑
摘要: insertRecord(const QVariantMap &trans){ bool ret = false; if(trans.isEmpty()) { return ret; } QString dbName = QString("./data/Record.db") QString sql 阅读全文
posted @ 2019-09-10 14:50 countryboy666 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 今天买的QT5.9到手了。看了前两章:namespce ui{class widget;}class widget:public QWidget{ }两个widget 不是同一个类。ui的设计:伙伴关系是指将一个组件和另一个组件相关联。Tab顺序是指在程序运行时按下的Tab输入焦点的移动顺序。 阅读全文
posted @ 2019-09-10 00:15 countryboy666 阅读(91) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 20 下一页