Advertisement
ChaeYuriya

Untitled

Nov 1st, 2024
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.67 KB | None | 0 0
  1. #include <iostream>
  2. #define first(L) L.first
  3. #define next(P) P->next
  4. #define info(P) P->info
  5. using namespace std;
  6. typedef int infotype;
  7. typedef struct elmlist *address;
  8.  
  9. struct elmlist{
  10.     string info;
  11.     address next;
  12. };
  13.  
  14. struct List{
  15.     address first;
  16. };
  17.  
  18. address allocate_103042310028(string x);
  19. address getShortestName_103042310028(List L);
  20.  
  21. void printInfo_103042310028(List L);
  22. void showFirstName_103042310028(List L,int n,char c);
  23.  
  24. void createList_103042310028(List &L);
  25. void insertFirst_103042310028(List &L,address P);
  26. void insertLast_103042310028(List &L,address P);
  27. void AddNewMember_103042310028(List &data);
  28.  
  29. int createMenu_103042310028();
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement