question about CLASS

This is a discussion on question about CLASS within the C++ Programming forums, part of the General Programming Boards category; if there is a problem in which there are 3 entities : STUDENT (who adds a course, change and withdraw) ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    11

    question about CLASS

    if there is a problem in which there are 3 entities :

    STUDENT (who adds a course, change and withdraw) ,
    STAFF ( who help student add, change ,withdraw) and
    FACULTY ( who advises student on the courses to choose etc)

    there are total THREE Classes right? i just want to make sure if im right or not.

    thanx

  2. #2
    Adnan
    Guest
    Yea these three are classes .....

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    154
    You might want to make a base class and derive two or all of the classes, since they all seem to work with courses. Courses could be a base class as well, with derived classes programming, english, math, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. matrix class
    By shuo in forum C++ Programming
    Replies: 2
    Last Post: 07-13-2007, 02:03 AM
  2. Replies: 8
    Last Post: 10-02-2005, 01:27 AM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 07:39 AM
  4. question about DLL's and class functions
    By btq in forum Windows Programming
    Replies: 2
    Last Post: 02-25-2003, 06:08 AM
  5. gcc problem
    By bjdea1 in forum Linux Programming
    Replies: 13
    Last Post: 04-29-2002, 07:51 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21