1.cserial类不能打开com9以上的串口,否则会出错。
2.串口类得官网http://www.codeproject.com/Articles/992/Serial-library-for-C
3.cppsqlite 好的网址。http://blog.csdn.net/northcan/article/details/7252337
http://www.cnblogs.com/procoder/archive/2009/10/19/1585733.html 各种代码,增删该茶
4.大量数据的时候应该使用事务来处理。
5.开启事务和关闭事务的代码:
db.execDML("begin transaction;");db.execDML("commit transaction;");
6.要使用外键必须首先开启外键, pragma foreign_keys=on;
然后外键才有约束力。否则无效。
外键的使用方法:http://www.sqlite.org/foreignkeys.html
7.SQLite常用的语句。
create table tableName(id int....);
select *from tableName;
insert into tableName values(1...);
update tableName set id=1 where name='zhangsan';
drop table tableName;
delete tableName where id=1;
8.GPS数据解析
开始是#,结尾时* ,中间的数据使用‘,’隔开,‘;’标识data message的开始。
9.char *p = (LPSTR)(LPCTSTR)cstr; cstring和char*的转换。
10.读取ini和编写ini文件使用WritePrivateProfileString GetPrivateProfileInt之类的api函数。
11.借用函数指针来实现回调函数。http://www.cnblogs.com/chenyuming507950417/archive/2012/01/02/2310114.html 测试程序在callbackFunction工程下
12.在MFC中自定义消息并相应。http://blog.163.com/strive_only/blog/static/893801682010101911467765/ 自己的测试的例子在UserMessageTest工程下。
13.在windows中线程终止学习。
14.c++ 的头文件需要相互包含的解决方法:使用提前声明 class A;
15:MESSAGEbOX的使用方法;http://gsqls.blog.163.com/blog/static/45971218201052902611285/
2.串口类得官网http://www.codeproject.com/Articles/992/Serial-library-for-C
3.cppsqlite 好的网址。http://blog.csdn.net/northcan/article/details/7252337
http://www.cnblogs.com/procoder/archive/2009/10/19/1585733.html 各种代码,增删该茶
4.大量数据的时候应该使用事务来处理。
5.开启事务和关闭事务的代码:
db.execDML("begin transaction;");db.execDML("commit transaction;");
6.要使用外键必须首先开启外键, pragma foreign_keys=on;
然后外键才有约束力。否则无效。
外键的使用方法:http://www.sqlite.org/foreignkeys.html
7.SQLite常用的语句。
create table tableName(id int....);
select *from tableName;
insert into tableName values(1...);
update tableName set id=1 where name='zhangsan';
drop table tableName;
delete tableName where id=1;
8.GPS数据解析
开始是#,结尾时* ,中间的数据使用‘,’隔开,‘;’标识data message的开始。
9.char *p = (LPSTR)(LPCTSTR)cstr; cstring和char*的转换。
10.读取ini和编写ini文件使用WritePrivateProfileString GetPrivateProfileInt之类的api函数。
11.借用函数指针来实现回调函数。http://www.cnblogs.com/chenyuming507950417/archive/2012/01/02/2310114.html 测试程序在callbackFunction工程下
12.在MFC中自定义消息并相应。http://blog.163.com/strive_only/blog/static/893801682010101911467765/ 自己的测试的例子在UserMessageTest工程下。
13.在windows中线程终止学习。
14.c++ 的头文件需要相互包含的解决方法:使用提前声明 class A;
15:MESSAGEbOX的使用方法;http://gsqls.blog.163.com/blog/static/45971218201052902611285/
16:combobox改变高度的做法:如果是VC6的话,在对话框编辑器上,点击COMBOBOX的下拉箭头,将高度拉到你希望的下拉列表的高度,保存,编译,运行。
17:如何SQLite的数据导出为csv格式:http://www.speqmath.com/tutorials/sqlite_export/