utility
文章平均质量分 75
is2120
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C: implementing str_replace to replace all occurrences of substring (zz)
C: implementing str_replace to replace all occurrences of substringLast time, I showed how to replace PHP's str_replace in C.The previous code was only replacing one occurrence of substr which原创 2013-10-19 18:02:50 · 1751 阅读 · 0 评论 -
CString TO Double (zz)
//z 2013-10-21 15:01:30 IS2120@BG57IV3 T3345574402.K.F3396121938[T3,L303,R3,V37]1. atl CString 转换成 double 浮点数A CString can convert to an LPCTSTR, which is basically a const char* (const wc原创 2013-10-21 15:03:10 · 1542 阅读 · 0 评论 -
Code Snippet
c/c++求两个日期之间的间隔天数原创 2014-04-22 13:19:19 · 829 阅读 · 0 评论 -
c++ print stacktrace
c++ stack print stack trace debug utility原创 2014-06-30 12:39:42 · 2399 阅读 · 0 评论 -
WideCharToMultiByte
1. 了解下这个 API//z 2014-03-25 08:18:41 IS2120@BG57IV3 T3343244181.K.F1434403198[T1,L68,R2,V15]void UnicodeToAnsi(WCHAR *in, char *out, int cchout){ int len ; len = WideCharToMultiByte(C原创 2014-03-31 20:36:44 · 2735 阅读 · 0 评论 -
ZLogger
ZLogger.hpp#pragma onceclass ZLogger{public: //z gnu log level : DEBUG < INFO < WARN < TRACE < ERROR < ALERT < CRIT < FATAL < EMERG enum {kInfo,kWarning,kError};public: static bool Log(LP原创 2014-07-15 16:44:29 · 898 阅读 · 0 评论 -
c++ 计时
class ZTimer{public: ZTimer() { _startCount.QuadPart = 0; _endCount.QuadPart = 0; QueryPerformanceFrequency(&_frequency); QueryPerformanceCounter(&_startCount); } double Elapsed() {原创 2014-06-19 17:17:30 · 630 阅读 · 0 评论
分享