摘要: 功能:去掉字符串首尾的空格,换行符等空白。代码:#include #include #include char *trim(char *str){ char *p = str; char *p1; if(p) { p1 =... 阅读全文
posted @ 2015-03-23 22:00 雄哼哼 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 功能:去掉字符串首尾的空格,换行符等空白。代码:#include #include #include char *trim(char *str){ char *p = str; char *p1; if(p) { p1 =... 阅读全文
posted @ 2015-03-23 22:00 雄哼哼 阅读(2412) 评论(0) 推荐(0) 编辑
摘要: 1.首先安装QT,同时要有gcc2.然后就是先安装sip,然后安装pyqt4python configure.py -q /usr/bin/qmake-4.8 -d /Library/Python/3.4/site-packages/ --sip /System/Library/Frameworks... 阅读全文
posted @ 2015-03-23 13:57 雄哼哼 阅读(848) 评论(0) 推荐(0) 编辑