20 lines
298 B
C++
20 lines
298 B
C++
#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 insert(bookList &l);
|
|
|
|
void display(bookList *l);
|
|
|
|
#endif //LINKLIST_H
|