Advertisement
Guest User

Untitled

a guest
Jun 28th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. #include <fstream>
  2. #include <iostream>
  3. #include <cstdio>
  4. #include <cstdlib>
  5. using namespace std;
  6.  
  7. struct node{
  8. int info;
  9. float price;
  10. struct node *next;
  11. }*start;
  12.  
  13. class linked_list{
  14. public:
  15. node* create_node(int, float);
  16. void into_list(int, float);
  17. void delete_pos(int);
  18. int search(int);
  19. void sort();
  20. void reverse();
  21. void display();
  22.  
  23. linked_list(){
  24. start = NULL;
  25. }
  26. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement