![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++学习
文章平均质量分 72
zongvr
这个作者很懒,什么都没留下…
展开
-
vs2005编译错误的处理方法
LNK1136,CVT1100,LNK2001,BK1506错误的处理 <br />默认分类2010-01-23 10:15:19阅读154评论0字号:大中小<br />1, LNK1136错误<br />出现错误:<br />Linking...<br />***.dll : fatal error LNK1136: invalid or corrupt file<br />Error executing C1.exe.<br />发现是在用cvs上传文件时,将其作为文本上传,下载后进行编译出现了类似错误转载 2010-07-20 09:26:00 · 1131 阅读 · 0 评论 -
模板实参推断与函数指针
<br />#include<iostream> #include<string> using namespace std; template <typename T1,typename T2,typename T3> T1 sum(T2 a,T3 b) { T1 c=a+b; return c; } template <typename T> int compare(const T&,const T&) { return 0; } int (*pf)(const stri原创 2010-07-26 09:36:00 · 444 阅读 · 0 评论 -
获取c++执行文件的当前目录
<br />#include"windows.h"<br />char bufferDir[1024];<br />GetCurrentDirectory(1024,bufferDir);原创 2010-08-04 10:46:00 · 473 阅读 · 0 评论