
C++工程
文章平均质量分 65
Diehard_Yin
New blogs contents are posted here: https://medium.com/@lisulimowicz
展开
-
VS2005制作安装包
VS2005项目工程的简单安装包制作 2009-07-18 15:28:23| 分类: VC知识 | 标签:vs2005 安装包 |举报|字号 订阅 本文在参考别的文章的基础上原创的,所写的步骤和结果已经得到我的亲自验证,所以请看到这篇文章的人大胆放心得按图索骥。如果出现不对的地方,请邮件联系:yuxiangdingdang@126.com,偶自当尽力为你解答!安装包制作的平台为:winxp,vs转载 2014-11-18 22:55:58 · 4455 阅读 · 0 评论 -
log4cxx使用说明
1、用vs2010建立控制台程序代码如下:#include #include #include #include #include #include #include using namespace log4cxx;using namespace log4cxx::helpers;int main(){ //LoggerPtr logge转载 2014-11-22 13:29:31 · 2761 阅读 · 0 评论 -
OPENCV+VS2010配置和编译
关于OpenCV+VS2010的安装配置,在其官网上有详细介绍:1) OpenCV Installation in Windows : http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html#windows-installation2) How to b转载 2014-11-25 01:22:39 · 1550 阅读 · 0 评论 -
log4cxx--使用多个logger
转载自:http://blog.youkuaiyun.com/crazyhacking/article/details/9668267使用多个logger时,所有logger的配置写在一个配置文件里面两个例子:1 一个继承的例子(http://logging.apache.org/log4cxx/)// file com/foo/bar.h#include "log4cxx/log转载 2014-11-24 21:56:55 · 1667 阅读 · 0 评论 -
C++矩阵库推荐
最近在几个地方都看到有人问C++下用什么矩阵运算库比较好,顺便做了个调查,做一些相关的推荐吧。主要针对稠密矩阵,有时间会再写一个稀疏矩阵的推荐。Armadillo:C++下的Matlab替代品地址:http://arma.sourceforge.net/许可证:MPL 2.0目前使用比较广的C++矩阵运算库之一,是在C++下使用Matlab方式操作矩阵很好的转载 2014-11-24 21:58:18 · 1272 阅读 · 0 评论 -
C++如何支持中文路径
‘在写程序的时候,发现当含有中文路径的时候,文档读取便会失败。我使用的路径转化代码如下,将路径中所有的”\“ 转换为"\\“。CString transFile2Path(CString cs){ CString re=cs; int srt_pos = 0; int find_pos = -1; while(1) { find_pos =re.Find('\\',sr原创 2015-02-07 17:24:41 · 7623 阅读 · 0 评论 -
rror LNK2019: 无法解析的外部符号 _WinMain@16,该符号在函数 ___tmainC
出现上面问题查了很多解决办法。我的是1: .hpp定义的类成员函数没有在cpp中实现2:将配置属性使用Windows库修改为使用共享的dll的MFC库。因为我的是MFC程序。原创 2015-04-15 11:44:13 · 1119 阅读 · 0 评论 -
Use openCV lib in either Pre-built libraries or yourself build libs
Installation in WindowsThe description here was tested on Windows 7 SP1. Nevertheless, it should also work on any other relatively modern version of Windows OS. If you encounter errors after follo转载 2015-10-22 03:43:46 · 1599 阅读 · 0 评论 -
OpenCV+VS, tell you how it really works
How to build applications with OpenCV inside the Microsoft Visual StudioEverything I describe here will apply to the C\C++ interface of OpenCV. I start out from the assumption that you have read a转载 2015-10-22 03:26:53 · 1026 阅读 · 0 评论