This commit is contained in:
2024-12-05 15:46:08 +08:00
parent 08f6f4b0f4
commit 4ae4cf8554
26 changed files with 1385 additions and 1381 deletions
+21 -21
View File
@@ -1,21 +1,21 @@
//LinkList.h
#ifndef LINKLIST_H
#define LINKLIST_H
#include<string>
using namespace std;
typedef struct bookNode {
string id;
string name;
double price;
bookNode *next;
} book_node, *bookList;
bool isEmpty(bookList);
void create(bookList &l);
void display(bookList *l);
int getLength(bookList *l);
#endif //LINKLIST_H
//LinkList.h
#ifndef LINKLIST_H
#define LINKLIST_H
#include<string>
using namespace std;
typedef struct bookNode {
string id;
string name;
double price;
bookNode *next;
} book_node, *bookList;
bool isEmpty(bookList);
void create(bookList &l);
void display(bookList *l);
int getLength(bookList *l);
#endif //LINKLIST_H