搜索

新手求助这个编译哪里有错误

查看数: 1540 | 评论数: 8 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2013-4-28 13:43

正文摘要:

[img]file:///C:\Users\Administrator\AppData\Roaming\Tencent\Users\40056802\QQ\WinTemp\RichOle\5[V~Q}D0HCV%E%~0F(4AZD4.jpg[/img][img]file:///C:\Users\Administrator\AppData\Roaming\Tencent\Users\4005680 ...

回复

糯米粽子 发表于 2013-5-19 17:23:27
Sleep   S要大写
andy12005 发表于 2013-5-18 23:56:04
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
int main()
{
        int a,b,c;
    a=1;
    b=2;
    c=a+b;
    printf("%d",c);
    Sleep(10000);S为大写有用
    return 0;
   
}
andy12005 发表于 2013-5-18 23:54:42
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
int main()
{
        int a,b,c;
    a=1;
    b=2;
    c=a+b;
    printf("%d",c);
    _sleep(10000);加一杠有用
    return 0;
   
}
andy12005 发表于 2013-5-18 23:48:44
这个老是编译失败,怎么办
andy12005 发表于 2013-5-18 23:48:02
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
int main()
{
        int a,b,c;
    a=1;
    b=2;
    c=a+b;
    printf("%d",c);
    sleep(10000);
    return 0;
   
}
狸小如 发表于 2013-5-1 10:01:02
应该是printf
lihongjian987 发表于 2013-4-29 09:53:52
少一个字母T
rosynirvana 发表于 2013-4-28 13:43:26
printf
不是Prinf
快速回复 返回顶部 返回列表