啊哈磊_编程从这里起步

标题: 第92页程序, 一模一样, 为何编译悲剧了?求助! [打印本页]

作者: ctn    时间: 2014-3-11 20:08
标题: 第92页程序, 一模一样, 为何编译悲剧了?求助!
#include <stdio.h>
#include <stdlib.h>
#inlcude <windows.h>
int main()
{
        int a;
    a=60;
    system("color 0a");
    while(a>=0)
    {
                system("cls");
        printf("%d",a);
        Sleep(1000);
        a=a-1;
    }

        system("pause");
        return 0;
}


作者: 李掌柜    时间: 2014-3-11 20:47
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>//#include拼写错了哦~~!仔细看看
int main()
{
        int a;
    a=60;
    system("color 0a");
    while(a>=0)
    {
                system("cls");
        printf("%d",a);
        Sleep(1000);
        a=a-1;
    }

        system("pause");
        return 0;
}




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