首页 > 电脑

一个c语言程序

更新时间2018-05-31 08:59:12

#include <stdio.h>

#include <stdbool.h>

#include "DGUT.h"

#include "school.h"

student*Industrial_Engineering(const char*name){

student*us=(student*)malloc(sizeof(student));

us->beStuudent(&us,name);

int class_num==2){

int the_best=0;

while(!the_best){

the_best=us->toBeBetter(&us)

}

return us;

}else{

......

}

}

班服上印了这些,敲出来却提示没有这个文件或目录,求大神解答,c语言渣渣一个,尽量简单点说

你的这个只是程序的一个部份,不完整的

其中的

#include "DGUT.h"

#include "school.h"

所包含的两个头文件都是自定义的,你当然是没有这个文件或目录了(也要自己输入的)

我一向的观点,作为初学者,自己动手写一行程序要比看别人100行程序学到的更多

先从最基本的语句开始,试试自己写程序

会不会是你某个地方被你删到或者被你加了

相关标签:c语言

上一篇:Kicada咔达KW-M11F无线麦克风,有时候有杂音是为什么啊?有时候又没有

下一篇:vs2010下载完成后再哪里可以启动