【求助】dev++报错:【Error】 ld returned 1 exit status
c吧
全部回复
仅看楼主
level 1
#include stdio.h
int main()
{
int i;
printf(How old are you? : );
scantf(%d, &i);
if (i = 18 )
{
printf(You can playing it \n);
}
return 0;
}
2021年08月03日 04点08分 1
level 1
#include <stdio.h>
int main()
{
int i;
printf("How old are you?" );
scanf("%d",&i);
if (i>=18)
{
printf("You can playing it ");
}
if(i<18)
{
printf("You can not play with it");
}
return 0;
}
2021年08月05日 00点08分 2
多谢大佬指点
2021年08月08日 15点08分
level 12
主要问题是 头文件没加<> 字符串没加冒号 另外把赋值和判断相等搞混了
2022年05月29日 15点05分 3
1