Thread: WHO can solve this???

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    8

    Wink WHO can solve this???

    Create a class called Company which contains a pointer called PtrArr which is used to point an array of employee objects and 1 integer data member. The integer data member will be used to store the number of existing employee currently. [make sure you have a proper constructors to create the array for the pointer] Include the following member functions:-

    I. Insert new Employee (to insert new employee object into the array. Make proper validations on appropriate fields. The employee_no is auto generated based on the number of objects created)
    II. Update (to search a employee base on the employee_no and allow the user to modify all data except employee_no)]
    III. Report based on employee_type and then based on gender. The employee records must be sorted based on employee_name.
    IV. Report based on employee age (display employee records between age ranges). To find the age, calculate the employee year from today’s year.
    Last edited by scjohnny; 08-11-2008 at 05:41 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. can anyone solve this for me? (look inside)
    By johnsonswww in forum C Programming
    Replies: 10
    Last Post: 03-02-2009, 11:24 AM
  2. Replies: 2
    Last Post: 04-25-2005, 11:59 AM
  3. How to handle in software to solve this block diagram?
    By vnrabbit in forum C Programming
    Replies: 4
    Last Post: 02-13-2003, 02:45 PM
  4. Help to solve this problem
    By Romashka in forum C++ Programming
    Replies: 3
    Last Post: 04-16-2002, 09:32 AM