啊哈磊_编程从这里起步

标题: 我是按照书上 怎么不能破译 大哥哥姐姐们帮一下嘛 [打印本页]

作者: QQ1332298560    时间: 2013-7-18 11:43
标题: 我是按照书上 怎么不能破译 大哥哥姐姐们帮一下嘛
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a,b,c;
    a=123456789;
    b=43214321;
    c=a﹢b;
    pintf("%d",c,);
system("pause");
return 0;
  

作者: rosynirvana    时间: 2013-7-18 11:43
QQ1332298560 发表于 2013-7-18 11:56
#include
#include
int main()

a=1 b=2两句后面少分号,c=a+b的加号是全角符号,printf拼错了
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main()
  4. {
  5.     int a,b,c;
  6.     a=1;
  7.     b=2;
  8.     c=a+b;
  9.     printf("%d,",c);
  10.     system("pause");
  11.      return 0;
  12. }
复制代码

作者: rosynirvana    时间: 2013-7-18 11:47
最后少了一半大括号
作者: QQ1332298560    时间: 2013-7-18 11:51
oo谢谢   
作者: QQ1332298560    时间: 2013-7-18 11:56
#include <stdio.h>
#include <stdlib.h>
int main()
{
        int a,b,c;
    a=1
    b=2
    c=a﹢b;
    pintf("%d,",c);
        system("pause");
        return 0;
}

这个怎么也不对啊
作者: 超神级    时间: 2013-7-18 12:31
{:soso_e140:}
作者: 超神级    时间: 2013-7-18 12:32
QQ1332298560 发表于 2013-7-18 11:56
#include
#include
int main()
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main()
  4. {
  5.         int a,b,c;
  6.     a=1
  7.     b=2
  8.     c=a﹢b;
  9.     pintf("%d",c);
  10.         system("pause");
  11.         return 0;
  12. }
复制代码

作者: 超神级    时间: 2013-7-18 12:34
QQ1332298560 发表于 2013-7-18 11:56
#include
#include
int main()

多个豆点。给分就分数给沙发哪位rosynirvana
作者: QQ1332298560    时间: 2013-7-18 12:47
大哥好像不对也  c=a﹢b;  这
作者: QQ1332298560    时间: 2013-7-18 13:16
rosynirvana 发表于 2013-7-18 11:43
a=1 b=2两句后面少分号,c=a+b的加号是全角符号,printf拼错了

谢谢 谢谢 呵呵
作者: QQ1332298560    时间: 2013-7-18 13:27
rosynirvana 发表于 2013-7-18 11:43
a=1 b=2两句后面少分号,c=a+b的加号是全角符号,printf拼错了

#include <stdio.h>
#include <stdlib.h>
int main()
{
        int a,b,c,
    a=1;
    b=2;
    c=b+2;
    printf ("%d,",c);
        system("pause");
        return 0;
}
这个和你一样  也破译不了:Q
作者: QQ1332298560    时间: 2013-7-18 13:29
QQ1332298560 发表于 2013-7-18 13:27
#include
#include
int main()

我知道了  ;; 那里是a,b,c;




欢迎光临 啊哈磊_编程从这里起步 (https://bbs.codeaha.com/) Powered by Discuz! X3.2