不知道为什么程序过编译不了.用DVE编译器的
程序:#include <stdio.h>
#define ADJUST 4.64
#define SCALE 0.325
int main(void)
{
double shoe, foot;
printf("shoe size(men's) foot length\n");
shoe=3.0;
while (shoe<18.5)
{
foot=SCALE*shoe+ADJUST;
prinrf("10.1f%15.2f inchse\n",shoe,foot);
shoe=shoe+1.0;
}
printf("if the shoe fits,wear it.\n");
getch();
return 0;
}
编译时显示错误:
[Linker error] undefined reference to `prinrf'
ld returned 1 exit status
E:\Dev-Cpp\Makefile.win [Build Error] [gc1.exe] Error 1