#ifdef __cplusplus
extern "C"
{
#endif
#include <stdio.h>
#include "swap.h"
#include "myadd.h"
int main()
{
int a = 10;
int b = 20;
int sum = 0;
printf("a is: %d, b is: %d\n",a,b);
printf("start to run swap(a,b)\n");
swap(&a,&b);
printf("after swap,a is: %d, b is: %d\n",a,b);
printf("start to run myadd(a,b)\n");
sum = myadd(a,b);
printf("a+b=%d\n",sum);
printf("programe return successfully!\n");
}
#ifdef __cplusplus
}
#endif
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
project.rar (88个子文件)
project
include
myadd.h 131B
swap.h 131B
Makefile.am~ 0B
src
swap
configure.in~ 509B
config.h 698B
stamp-h1 23B
autom4te.cache
requests 6KB
traces.1 18KB
output.0 138KB
traces.0 28KB
output.1 138KB
.deps
swap.Po 1KB
config.log 8KB
autoscan.log 0B
config.h.in 557B
aclocal.m4 30KB
Makefile.am 77B
configure.in 509B
swap.c 167B
swap.o 4KB
Makefile.in 16KB
configure 137KB
configure.scan 466B
config.status 32KB
Makefile 16KB
libswap.a 4KB
Makefile.am~ 77B
myadd
configure.in~ 511B
config.h 2KB
stamp-h1 23B
autom4te.cache
requests 13KB
traces.1 26KB
output.0 380KB
traces.0 93KB
output.1 380KB
.libs
libmyadd.lai 949B
libmyadd.a 4KB
libmyadd.so.0.0.0 10KB
myadd.o 4KB
.deps
myadd.Plo 1KB
myadd.c 131B
config.log 17KB
autoscan.log 0B
config.h.in 2KB
aclocal.m4 306KB
libtool 252KB
Makefile.am 81B
configure.in 511B
Makefile.in 19KB
myadd.lo 292B
configure 378KB
configure.scan 467B
ltmain.sh 238KB
config.status 57KB
Makefile 18KB
myadd.o 4KB
libmyadd.la 948B
Makefile.am~ 81B
main
configure.in~ 466B
config.h 2KB
stamp-h1 23B
autom4te.cache
requests 13KB
traces.1 26KB
output.0 383KB
traces.0 93KB
output.1 382KB
.libs
lt-main 13KB
main 13KB
.deps
main.Po 1KB
README.bak 0B
main.c 445B
config.log 17KB
autoscan.log 0B
config.h.in 2KB
aclocal.m4 306KB
libtool 252KB
Makefile.am 215B
configure.in 524B
README 354B
Makefile.in 19KB
main 5KB
configure 380KB
configure.scan 466B
ltmain.sh 238KB
config.status 57KB
Makefile 18KB
main.o 5KB
Makefile.am~ 0B
共 88 条
- 1
资源评论
- hate2323132017-05-24少了可执行文件,不负责啊
- bullzhanghao2011-11-30无执行文件啊。
- badkid00012011-09-17内容有点不对,少掉了可执行文件
amyamyamy1989
- 粉丝: 4
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功