c++
leiweip
这个作者很懒,什么都没留下…
展开
-
boost 接受多参数列表
boost 接受多参数列表#include <boost/program_options.hpp>using namespace boost::program_options;using namespace std;int main(){ options_description desc("Allowed options"); desc.add_options() ("files,f", value< std::vector< std::string原创 2021-07-01 11:30:04 · 213 阅读 · 0 评论 -
boost 进程间通信-share memery传递字符串
### boost 进程间通信-share memery传递字符串#### 写入字符 writeShareMemery.cpp #include<boost/interprocess/shared_memory_object.hpp> #include<boost/interprocess/mapped_region.hpp> #include <iostream> #include <vector> us...原创 2021-06-28 20:02:41 · 326 阅读 · 0 评论 -
c++ windows wstring转wchar_t数组
wstring pWideChar=L'hello world';wchar tagWideCharList[2048];wcscpy ( tagWideCharList,pWideChar.c_str() );原创 2017-05-26 14:13:31 · 3289 阅读 · 0 评论 -
deepin 15.1.1 编译filezilla 3.0.4
1.安装必要库:sudo apt-get install libgtk2.0apt-get install pkg-configsudo apt-get install glib-2.0apt-get install libgmp-devapt-get install libxxf86vm-devsudo apt-get install g++//export CFLA...原创 2018-08-15 12:17:10 · 987 阅读 · 0 评论