![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C和C++
玉石俱焚ing
嵌入式菜鸟
展开
-
宽字符基本操作
1.wstring和string互转#include<codecvt>wstring_convert<codecvt_utf8<wchar_t>>conv;wstring wstr;stringstr=conv.to_bytes(wstr);stringstr;wstring wstr = conv.from_bytes(str);原创 2021-03-30 14:46:14 · 93 阅读 · 0 评论 -
代码调试
1.内存检测工具Valgrind原创 2020-12-26 13:54:53 · 102 阅读 · 0 评论 -
c++0x_warning.h 错误
g++编译使用libmemcached编写的程序时报错,做个简单的记录。In file included from /usr/lib/gcc/x86_64-redhat-Linux/4.4.7/../../../../include/c++/4.4.7/cinttypes:35, from /usr/include/libmemcached-1.0/memc...原创 2019-11-25 23:18:42 · 2504 阅读 · 0 评论