
QT编程
csm2432
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
QT 编程点滴
类定义后面要加";"函数的实现部分,如果定义部分有void,则实现部分不能少;检查include文件有无少;error: request for member `show in `((MainWindow*)this)->MainWindow::rightform, which is of non-class type `RightForm*|"->"与"."问题函数"()"原创 2009-11-09 17:19:00 · 10736 阅读 · 1 评论 -
控制台中解析用户输入的命令行参数(argc argv)
命令行解析:argc argv 解析例子: tail -l20 -e123 或 tail -l 20 -e123*.h:#define COMMAND_LINE_LENGTH 2048 #ifdef WIN32 #include "windows.h" #define strtok_r( _s, _sep, _lasts ) / ( *(_lasts) = strtok( (_s), (_sep) ) ) #else #endif *.cpp: QString tmp原创 2011-01-26 11:02:00 · 2855 阅读 · 0 评论