啊哈磊_编程从这里起步

标题: 刚学就碰壁了,,我都不知道怎么回事 [打印本页]

作者: 少年来了    时间: 2016-2-13 12:03
标题: 刚学就碰壁了,,我都不知道怎么回事


作者: 初学C    时间: 2016-2-13 12:31
http://ktlt.88448.com/redirect.p ... o=lastpost#lastpost
作者: 初学C    时间: 2016-2-13 12:33
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
int main()
{
     printf("ni hao");
     Sleep(5000);
     return 0;
}

作者: 少年来了    时间: 2016-2-13 13:02
初学C 发表于 2016-2-13 12:33
#include
#include
#include

还是没有用,大小写都试了没用
作者: zhuzhu81998    时间: 2016-2-13 13:06
少年来了 发表于 2016-2-13 13:02
还是没有用,大小写都试了没用

都看旧版电子教程,除了大小写还要加#include <windows.h>
作者: 少年来了    时间: 2016-2-13 13:39
zhuzhu81998 发表于 2016-2-13 13:06
都看旧版电子教程,除了大小写还要加#include

你有新的吗,,
作者: zhuzhu81998    时间: 2016-2-13 17:07
少年来了 发表于 2016-2-13 13:39
你有新的吗,,

买纸书啊。
作者: 卡卡欧    时间: 2016-2-13 19:20
童鞋,我实在看不下去了,就告诉你Sleep(1000)要用一个函数#include <windows.h>的,好好看书吧!
作者: chenyu    时间: 2016-2-15 16:26
#include<stdio.h>
#includ<stdlib.h>
#include<windows.h>
int main()
{
    printf("ni hao");
    Sleep(5000);
    system("pause");
    return 0;
}



作者: 福华    时间: 2016-2-15 22:40
少年来了 发表于 2016-2-13 13:39
你有新的吗,,

真想好好学,不要吝啬那么一点钱,这是有用的投资
作者: adc    时间: 2016-7-18 18:45

#include<stdio.h>
#includ<stdlib.h>
#include<windows.h>
int main()
{
    printf("ni hao");
    Sleep(5000);    system("pause");
    return 0;
}




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