C语言**一枚,求助!在电脑就可以,为嘛手机不行?求助!!
c4droid吧
全部回复
仅看楼主
level 4
SLiYun-
楼主
C语言**一枚,求助!
在电脑就可以,为嘛手机不行?求助!!
2018年10月23日 16点10分
1
level 9
aboil1979
没有安装gcc
2018年10月23日 16点10分
2
SLiYun-
我安装了,可是还是哪样阿。。
2018年10月24日 08点10分
aboil1979
设置里编译器选择GCC
2018年10月24日 09点10分
SLiYun-
回复 aboil1979 :好的,可以啦,谢谢
2018年10月24日 13点10分
level 3
abc哈哈笑520
#include<stdio.h> 你的io后面好像有个有个空格
2018年10月24日 09点10分
3
SLiYun-
好,可以,我试试
2018年10月24日 13点10分
level 12
挥洒👻
int main (void)
2018年10月24日 10点10分
4
level 12
挥洒👻
return 0;
2018年10月24日 10点10分
5
SLiYun-
好的,谢谢
2018年10月24日 13点10分
level 4
SLiYun-
楼主
求哪里错误了?!
2018年10月24日 15点10分
6
贴吧用户_5GNJCKE
记住void main以后不要用了,以后用int main 或int main( void)
2018年11月19日 09点11分
SLiYun-
@贴吧用户_5GNJCKE
好的 为啥呢
2018年11月25日 23点11分
贴吧用户_5GNJCKE
@SLiYun-
额,我现在在看的C Primer plus书中说了,void main在任何标准中都没有认可,也就是,这种写法是有问题的,例如,我用的手机软件c droid就不允许这种写法,并且,贴吧吧友也建议不要用这种写法,而int main则没有任何问题
2018年11月26日 00点11分
SLiYun-
@贴吧用户_5GNJCKE
好的,谢谢~
2018年12月02日 15点12分
level 9
aboil1979
13行后的分号去掉
2018年10月25日 00点10分
8
SLiYun-
好,谢谢
2018年10月25日 06点10分
level 4
SLiYun-
楼主
为什么无论输入两个数字,The product is 0?!
2018年11月12日 05点11分
9
level 4
SoulCharge
是不是你输入的时候中间没有加逗号,这样变量y的值是0
2018年12月07日 15点12分
10
1