
Learn From Sinppets
HappyJandun
在C/C plus plus的道路上慢慢沉淀
展开
-
Code snippets for tips
//将参数输出, 每次注意输出一个空格, 如果是最后一个那就不用输出空格了 printf("%s%s", argv[i], (i原创 2014-03-25 14:00:16 · 682 阅读 · 0 评论 -
Qt code snippets
No.1 A way convert There's a QString function called fromUtf8 that takes a const char*: QString str = QString::fromUtf8(content.c_str());原创 2014-09-23 16:13:27 · 1095 阅读 · 0 评论