请教C++模板类问题,VC6.0环境下
来源:互联网 发布:工商网络监管 心得体会 编辑:程序博客网 时间:2024/05/08 01:25
// Example of the template keyword
template <class T, int i> class TestClass {
public:
char buffer[i];
T testFunc(T* p1 );
};
template <class T, int i>
T TestClass<T,i>::testFunc(T* p1) {
return *(p1++)
};
// To create an instance of TestClass
TestClass<char, 5> ClassInst;
以上程序编译通过,但是连接有问题,请教高手
- 请教C++模板类问题,VC6.0环境下
- VC6环境下RichEdit2.0的一个乱码问题
- 请教下问题
- 新手请教: 如何在VC6.0 下编写Symbian的程序啊
- VC6.0下DirectShow开发环境配置
- VC6.0下directshow环境配置
- VC6.0下设置Unicode编译环境
- VC6.0下设置Unicode 开发环境
- VC6.0下设置Unicode编译环境
- VC6.0下设置Unicode编译环境
- vc6.0下配置SDL使用环境
- VC6.0下设置Unicode编译环境
- VC6.0下设置Unicode编译环境
- VC6.0下设置Unicode编译环境
- VC6.0下设置Unicode编译环境
- windows下MPI环境配置(VC6.0)
- 请教一个C语言问题
- 请教一个C得问题
- 核符号表(Kernel Symbol Table)是什么东西?
- D3DXVec4BaryCentric 函数
- D3DXVec4CatmullRom 函数
- 猪头
- Javascript(IE快捷键操作),ASP技巧
- 请教C++模板类问题,VC6.0环境下
- 程序员易犯的20条错误
- Edit_LimitText(GetDlgItem(hwnd, IDC_ERRORCODE), 5);限制输入字符
- 一个取图片尺寸的类,支持jpg,gif,png
- fso的一些特殊功能
- 收到这样的短信你咋办
- #pragma once
- 用ASP和SQL实现基于Web的事件日历
- 使用mesh渲染复杂模型(调用.x 文件)