回 帖 发 新 帖 刷新版面

主题:C的问题

用 turbo c for windows
   写了个N简单的东西!
   #include <stdio.h>
main ()
{
    printf("this is my dj.\n")
}


为什么执行后出现
Bad command or file name

Execution time 0.000 seconds
Press any key to continue...

这是什么意思??

回复列表 (共2个回复)

沙发

/* Note:Your choice is C IDE */
#include "stdio.h"
main()
{
    printf("this is my dj.\n");   
}

板凳


#include<stdio.h>
void main()
{
    printf("this is my dj.\n");
}
[em12]

我来回复

您尚未登录,请登录后再回复。点此登录或注册