Advertisement
Guest User

Untitled

a guest
Nov 24th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. #ifndef STUDENT_H
  2. #define STUDENT_H
  3. #include <stdio.h>
  4. #include <stdlib.h>
  5. #include <string.h>
  6. class student
  7. {
  8. private:
  9. char *name;
  10. int value;
  11. int init (const char * n,int v);
  12. public:
  13. student(const char *n=0,int v=0);
  14. student(const student &x);
  15. ~student();
  16. student & operator =(const student &x);
  17. int operator < (const student & b);
  18. int operator > (const student & b);
  19. int operator == (const student & b);
  20. int read(FILE *);
  21. void print (FILE *,int level=0);
  22. void menu();
  23.  
  24. };
  25. void print_menu_student();
  26. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement