Home > Back-end >  For help, to write a C program
For help, to write a C program

Time:12-08

Realize functions:
Features 1, each record, including a teacher staff number, name, title, gender, 3 lecture courses (classes, according to the name, course nature, degree and non-degree courses and teaching effect), teaching effect, a comprehensive score
Function 2, input function: several records in can be done once the input,
Function 3, the display function: complete teacher's record, according to
4 function, lookup: complete records, according to the name or a course teacher and display,
Function 5, sorting function: according to the worker number or teaching effect comprehensive score for sorting,
Function 6, insert function: according to the teaching effect comprehensive score will insert a teacher record,
7 functions, will file record teachers,
Function 8, should provide an interface to invoke the various functions, interface and each function call interface should be clear and beautiful!
Requirements:
1, using C language implementation system;
2, using the structure array to realize the design of data structure teaching information;
3, the system has increased, query, insert, the basic function such as sorting;
4, system requirements of each function module in the form of function implementation;
5, the file is teaching information,

CodePudding user response:

Input to support more than, you can input in a loop
If you have any restrictions on record number, then it is ok to use an array, without limitation, can use list
Searching, sorting is a bit simple, is to look for in the array or chain table, sorting can refer to
https://blog.csdn.net/zhanghaiyang9999/article/details/107102728
Finally, save the results to a file, start when read in, file read and write can refer to
https://blog.csdn.net/zhanghaiyang9999/article/details/107032563

CodePudding user response:

You are someone who can write tools?
  • Related