帮忙看看........
#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 ....真是看不懂你在干什么。。。
flip, percetages的implements在哪。。。
页:
[1]