Searching strings in class

Thread Starter

Muqaddas Jamil*

Joined Nov 1, 2009
8
I have to define a class with name,employment date ,address and pay(hardcore it ).then have to make a user interface to search through a list of 20 employees using any particular property...(in c++)

The problem i am facing is that i m not sure if i should use string arrays to hardcore the emplyee infos.,and how should i search them by taking any property (e.g a farhername 'John'is entered by user,i should display all emoloyees whose fathername is john.):confused:

please give me some guidance;so that something might click in my mind.Any kinda help would be appreciated :)

P.S I just have the basic knowledge of classes and havent studied any trees,stacks,files,sQL etc,etc....
  • 2 minutes ago
  • - 2 days left to answer.
 
Top