摘要: 在一个cpp文件定义一个文件 在另一个文件extern+定义 阅读全文
posted @ 2018-06-28 23:05 confusion 阅读(557) 评论(0) 推荐(0) 编辑
摘要: name.find(' ') == std::string::npos//npos==-1,表示没找到 阅读全文
posted @ 2018-06-28 21:17 confusion 阅读(212) 评论(0) 推荐(0) 编辑
摘要: QLineEdit一共有6个信号函数,并不多,很好理解。 ·void cursorPositionChanged( intold, intnew ) 当鼠标移动时发出此信号,old为先前的位置,new为新位置。 · void editingFinished() 当 按返回或者回车键时,或者行编辑失去 阅读全文
posted @ 2018-06-28 17:44 confusion 阅读(1729) 评论(0) 推荐(0) 编辑
摘要: C++ 中文件流(fstream)的使用方法及示例 http://blog.jobbole.com/108649/ qt中文乱码问题: https://blog.csdn.net/brave_heart_lxl/article/details/7186631 阅读全文
posted @ 2018-06-28 00:52 confusion 阅读(110) 评论(0) 推荐(0) 编辑