Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #define first(L) L.first
- #define next(P) P->next
- #define prev(P) P->prev
- #define info(P) P->info
- #define judul(P) P->judul
- using namespace std;
- typedef int infotype;
- typedef struct elmList *address;
- struct elmList{
- infotype info;
- string judul;
- address next;
- address prev;
- };
- struct List{
- address first;
- address last;
- };
- address getSongAddress(string judul,List L);
- bool isEmpty(List L);
- void createList(List &L);
- void createNewElement(infotype X,address &P);
- void createNewSong(infotype ID,string X,address &P);
- void insertFirst(List &L, address P);
- void inserAfter(List &L, address &Target,address P);
- void insertLast(List &L, address P);
- void deleteFirst(List &L, address &P);
- void deleteAfter(List &L, address &Target,address &P);
- void deleteLast(List &L, address &P);
- void concat(List L1, List L2, List &L3);
- void removeLagu(string judul,List &L);
- void printInfo(List L);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement