Sunday, July 12, 2009

I dont remember anything about c++ so i cant program who can help me abut that program?

Class Kids{


protected:


String name;


int age;


bool height;


void Reg();


void disp();


};


my program will contain the fallowing functions:


1) write a function called Reg() . this function will register names and agas of the children and save them into a array of object


2) write function move() which will move the girls from the main arrayof objects into a new link list. The new class, called Girls , will be inhereted from the Kids class. Derivation will be public.


3) write function disp() to d,splay the names, ages , and the genders of the children.


4) write a main()function with a menu for invoking other fucktions .


Please help me i dont write programs for a year so i cant remember what to do .

I dont remember anything about c++ so i cant program who can help me abut that program?
choose a variable of class kids.


use scanf for input





to reach the elements of class use dot connection


classvariable.age[n]


classvariable.name[0][n]





to declare function use





void Reg() {








}

800flowers.com

No comments:

Post a Comment