Home > Back-end >  Why do wrong!
Why do wrong!

Time:11-16

This is a multi-file module, I is according to the book on the code, but it is always an error

CodePudding user response:

Count C is lowercase

CodePudding user response:


Look from the errors, it should be your structure struct student does not define a complete, that is to say, in the calling business () function, the student may only declaration is not defined

CodePudding user response:

refer to the second floor MianHou response:

Look from errors, should be your structure struct student does not define a complete, that is to say, in the calling business () function, the student may only statement does not define

I am in the main function there declares the struct student students [50];

CodePudding user response:

This structure is not students, is a student

CodePudding user response:

reference 4 floor MianHou response:
not students, is a student of this structure

Structure is written in the student. H, in the main function (student_system. C) and wrote a # include "student. H",

CodePudding user response:

Game variables of the case, in addition, also pay attention to the case when the header file; Compiled from the tooltip should do not have the right to introduce a header file,
  • Related