啊哈磊_编程从这里起步

标题: 为什么运行不了啊。。。 [打印本页]

作者: Augenstern.    时间: 2020-3-14 21:02
标题: 为什么运行不了啊。。。
#include <stdio.h>#include <stdlib.h>
#include <time.h>
#include <windows.h>
{
    int count;
    int i,j;
    char buffer[50][50] = {0} ;
    system("color 0A");
    srand(time(0));
    for(count = 0;count < 3000;count++)
    {
        for(i = 0;i <10 ;i++)
        {
            for(j = 0;j < rand()%50 ;j++)
            {
                buffer[i][j] = rand() % 128;
                printf("%c\t ",buffer[i][j]);
                buffer[i][j] = 0;
            }
            putchar('\n ');
            Sleep(40);
        }
    }
    return 0;
}



作者: 112233c    时间: 2020-3-15 16:04
我想要运行是不是要点击文件夹中的 .bat文件去运行?




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