Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef STUDENT_H
- #define STUDENT_H
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- class student
- {
- private:
- char *name;
- int value;
- int init (const char * n,int v);
- public:
- student(const char *n=0,int v=0);
- student(const student &x);
- ~student();
- student & operator =(const student &x);
- int operator < (const student & b);
- int operator > (const student & b);
- int operator == (const student & b);
- int read(FILE *);
- void print (FILE *,int level=0);
- void menu();
- };
- void print_menu_student();
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement