dev c++编译出错
代码:#include<stdio.h>
int main()
{
int a;
char b;
char e;
char f;
float c;
double d;
a = 5201314;
b = 'F';
e = 'U';
f = 'C';
c = 3.14;
d = 3.14159265358979323;
printf("%d%d\n",a);
pritff("%c%c%c%c\n",b,e,f);
printf("%.2f\n",c);
printf("%19.17f\n",d);
return 0;
}
编译出错: ld returned 1 exit status
谢谢
上一个运行的程序没关吧,还有这个pritff("%c%c%c%c\n",b,e,f);有问题
#include<stdio.h>
int main()
{
int a;
char b;
char e;
char f;
float c;
double d;
a = 5201314;
b = 'F';
e = 'U';
f = 'C';
c = 3.14;
d = 3.14159265358979323;
printf("%d%d\n",a);
printf("%c%c%c\n",b,e,f);
printf("%.2f\n",c);
printf("%19.17f\n",d);
return 0;
} 我也是傻了
页:
[1]