
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 · 1236 阅读 · 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 · 474 阅读 · 0 评论 -
获取c++执行文件的当前目录
<br />#include"windows.h"<br />char bufferDir[1024];<br />GetCurrentDirectory(1024,bufferDir);原创 2010-08-04 10:46:00 · 512 阅读 · 0 评论