这到底是什么问题啊,安装了好几
c4droid吧
全部回复
仅看楼主
level 1
这到底是什么问题啊,安装了好几遍都这样
2017年03月05日 08点03分 1
level 1
安装了gcc SDL c4droid,同样的方法在小米上可以运行,魅族上就运行不了,是怎么回事?[泪]
2017年03月05日 08点03分 2
level 14
代码错了而已
2017年03月05日 12点03分 3
level 11
代码贴上来呗 [呵呵]
2017年03月06日 08点03分 4
楼下上图
2017年03月08日 03点03分
level 1
这种简单的代码都不能运行
2017年03月08日 03点03分 5
双引号不是由两个单引号组成的
2017年03月08日 11点03分
@一周休七日 我用了双引号好像还是不能运行
2017年03月10日 00点03分
level 11
楼主自己对比和你的代码有什么不同 [阴险]
2017年03月08日 07点03分 6
为什么别人的viod main和intmain都行,我的两个都不行[泪]
2017年03月10日 00点03分
回复 ☆大大人☆ :用英文的符号 [不高兴]
2017年03月10日 08点03分
level 1
第一张图的源代码
2017年03月10日 00点03分 7
level 1
2017年03月10日 00点03分 8
level 1
#include<stdio.h>
int main()
{
int i =0;
int password;
while(i < 3)
{
printf("输入你的密码: ");
scanf("%d", &password);
if(123456 != password)
{
printf("恭喜!当前第%d密码输入错误0.0\n", i + 1);
}
if(i == 2)
{
printf("输错%d次了,咕嘟白", i);
exit(0);
}
i++;
}
return 0;
}#include<stdio.h>
int main()
{
int i =0;
int password;
while(i < 3)
{
printf("输入你的密码: ");
scanf("%d", &password);
if(123456 != password)
{
printf("恭喜!当前第%d密码输入错误0.0\n", i + 1);
}
if(i == 2)
{
printf("输错%d次了,咕嘟白", i);
exit(0);
}
i++;
}
return 0;
}
哪里有错误哇[泪][泪]
2017年03月10日 00点03分 9
这段代码,我复制到其他手机可以编译,就我的手机不能,会不会和安卓系统有关系
2017年03月10日 00点03分
level 1
exit 函数使用,要加个头文件stdlib.h,另外c4中if语句要加空格,
2017年03月10日 08点03分 10
1