QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2181|回复: 1

帮忙看看........

[复制链接]
发表于 2007-5-9 19:06:17 | 显示全部楼层 |阅读模式
#include <stdio.h>
#include <stdlib.h>
#include <time.h>

int flip(int);

void percentages(int,int);
int main()
{
int a=100;
int b;
b=flip(a);
percentages(a,b);

return 0;
}


运行时出错........
gcc zzz.c -o zzz
/tmp/ccyWUk6q.o(.text+0x2a): In function `main':
: undefined reference to `flip'
/tmp/ccyWUk6q.o(.text+0x3e): In function `main':
: undefined reference to `percentages'
collect2: ld returned 1 exit status
发表于 2007-5-11 09:31:42 | 显示全部楼层
....真是看不懂你在干什么。。。
flip, percetages的implements在哪。。。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-25 15:19 , Processed in 0.065743 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表