#include "stdio.h"
#include <assert.h>
#include "CtestAPI.h"
void main ()
{
int result;
struct tagCtest *pctest;
pctest = GetInstance();
result = add(pctest, 2, 4);
printf("result = %d\n", result);
system("pause");
ReleaseInstance(&pctest);
assert(pctest == 0);
return;
}
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
C调用C++类中方法.zip (45个子文件)
Test
Debug
Test.pdb 411KB
Test.exe 28KB
Test.ilk 318KB
Test
Test.vcxproj.user 143B
CtestAPI.cpp 450B
Test.vcxproj.filters 1KB
Debug
cl.command.1.tlog 2KB
Test.exe.embed.manifest 406B
rc.command.1.tlog 426B
CL.read.1.tlog 2KB
vc100.idb 35KB
mt.read.1.tlog 234B
Test.Build.CppClean.log 2KB
Test.exe.embed.manifest.res 472B
Test.write.1.tlog 0B
link-cvtres.read.1.tlog 2B
link.read.1.tlog 3KB
rc.read.1.tlog 206B
link.write.1.tlog 684B
link.19176.read.1.tlog 2B
CtestAPI.obj 6KB
CL.write.1.tlog 924B
link.19176.write.1.tlog 2B
Test.log 163B
vc100.pdb 60KB
main.obj 5KB
link.command.1.tlog 1KB
Test.exe.intermediate.manifest 381B
Test_manifest.rc 198B
mt.write.1.tlog 234B
link.19176-cvtres.write.1.tlog 2B
link.19176-cvtres.read.1.tlog 2B
Ctest.obj 3KB
Test.lastbuildstate 45B
mt.command.1.tlog 330B
rc.write.1.tlog 214B
link-cvtres.write.1.tlog 2B
CtestAPI.h 302B
Ctest.cpp 130B
Test.vcxproj 4KB
Ctest.h 103B
main.c 310B
Test.sdf 1.64MB
Test.sln 879B
Test.suo 13KB
共 45 条
- 1
资源评论
- wei1001002016-05-14非常不错哦!!!
- adlindary2017-11-02请用class 定义一个类看看,楼主瞎扯!
码农code之路
- 粉丝: 1228
- 资源: 33
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功