Home > Back-end >  Consult a great god! Need to be written in c language library management program!!
Consult a great god! Need to be written in c language library management program!!

Time:10-16

Topic: using singly linked lists to create a simple library table, each record includes: book number, name, borrowing, requirements:
Nodes ((1) establish a n value from the keyboard input data fields) constitute a singly linked list,
(2) find the lending most and the least amount of book records, to show the number and name,
(3) in the specified nodes before inserting a new books, and return a sign of success,
Tip: define record nodes in the chain table structure for
Struct node
{char no [40];
Char name [60].
Int num.
Struct node * link;
}
Write the query function, from the first record, will be borrowing number assigned to the maximum and the minimum variable, and then use the maximum and the minimum variable sequence comparison, and the back of the nodes if the node is greater than the maximum variable (or less than the minimum variable), the maximum to assign the node values to variables (or the minimum variable), until the end of the cycle, insert a new node, if there is no specified node, return the insert fails, if the table has specified node, is discussed in two different conditions: the specified nodes for the head, the modified new nodes pointer to point to the head; The node to other nodes, modify the new node pointer to point to the specified node, modify the specified node of the structure before the previous node Pointers point to the new node

CodePudding user response:

See also homework,
Is still the standard answer: give the teacher a gift, please to have a meal,

CodePudding user response:

Homework assignments at this time how could come right now

CodePudding user response:

Consult, will help to design the good? Tomorrow to pay

CodePudding user response:

Standard answer: give the teacher a gift please eat

CodePudding user response:

On taobao, estimates that it is not your

CodePudding user response:

Didn't know what to design, is to design a frame or code
  • Related