Files
data-structures-and-algorithms/homework2/LinkList.h
T
2024-10-19 00:54:57 +08:00

22 lines
339 B
C++

//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