c++
文章平均质量分 70
zim3oo
这个作者很懒,什么都没留下…
展开
-
c++ Windows下超时文件删除
操作步骤取得某个目录下面所有文件取得文件的创建日期取得当前日期跟其创建的日期差删除文件获取文件的创建时间 int iresult; struct _stat buf; iresult = _stat("D:\\test.txt", &buf); printf("seconds of file create-time from 1970 :%d\n", buf.s原创 2017-03-04 11:54:41 · 428 阅读 · 0 评论 -
c++小笔记
vs 2013 快捷键文档 1. 补全代码 : Ctrl+space 或者 alt + → 2. 源码追踪 : F12 3. 代码注释 :选中 先 Ctrl + K 然后 Ctrl + C 4. 解开注释 : 选中 先 Ctrl + K 然后 Ctrl + U 5. 格式化代码 : 选中 先 Ctrl + K 然后 Ctrl + Fstrlen,wcslen,lstrlen函数与sizeo原创 2017-03-04 16:40:05 · 797 阅读 · 0 评论 -
gbk转utf8 乱码问题
c++ gbk转utf8,中文乱码原创 2017-09-18 15:16:41 · 2119 阅读 · 1 评论 -
linux activemq-cpp编译
仅作为编译记录http://blog.csdn.net/lgh1700/article/details/51055784http://activemq.apache.org/cms/building.html依赖库versioncppunit-1.14.0.tar.gzapr-1.6.2.tar.gzapr-util-1.6.0.tar.gzapr-iconv-1.2.1.tar.gze2fspro原创 2017-10-12 19:56:27 · 997 阅读 · 0 评论 -
c++ mupdf编译
mupdf用于将pdf转化为图片版本:/home/zjm/activemq/mupdf-1.11-source编译 make prefix=/usr/local install prefix后面跟的是目标目录,正常应为/usr/local/mupdf现象: 1、无权限:用sudo 2、glfw未找到,需要自己编译glfw 编译步骤:1、在mupdf-1.11-source目录下cd原创 2017-10-12 19:59:25 · 2994 阅读 · 2 评论 -
c++ excel库 xlnt使用心得
github地址:https://github.com/tfussell/xlnt编译步骤:mkdir buildcd buildcmake ..makesouce目录下有动态库代码栗子#include <xlnt/xlnt.hpp>#include <iostream>#include <string.h>int main...原创 2018-05-17 10:48:24 · 14421 阅读 · 11 评论