Lukket

student

#include #include #include enum YEAR { FRESH, SOPH, JUNIOR, SENIOR }; enum SUPPORT {TA, RA, FELLOWSHIP, OTHER }; class Student { public: // Constructors Student() { student_id = 0; gpa = 0.0; college[0] = '\0'; yr = FRESH; major [0] = '\0'; } Student( int id, float g ) { student_id = id; gpa = g; college[0] = '\0'; yr = FRESH; major [0] = '\0'; } // implementation of base class virtual functions void print( void ); void read( void ); protected: int student_id; // student ssn float gpa; // student grade point average char name[30]; // student name char college[20]; // college name YEAR yr; // year in college char major[10]; // area of study }; class GradStudent : public Student { public: // Constructors GradStudent() : Student() { supp = TA; dept[0] = '\0'; thesis[0] = '\0'; } GradStudent( SUPPORT x, int id, float g) : Student(id, g) { supp = x; dept[0] = '\0'; thesis[0] = '\0'; } // implementation of base class virtual functions // prompt for and read values void print( void ); // print values held void read( void ); private: SUPPORT supp; char dept[10]; char thesis[80]; }; 1 Implement the following methods for both of the above classes. For the Student class code the implementation of: void read( void ); void print(); For the GradStudent class code the implementation of: void read( void ); void print(); 2 Write a test program that will demonstrate the inheritance relationship between the Student and the GradStudent classes.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables):

a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Operating system,windows 2000. c++ environment/compiler

Evner: C programmering, Ingeniørarbejde, MySQL, PHP, Software Arkitektur, Software Testning

Se mere: virtual int, virtual constructors, virtual char, to study php programming, study web programming, study programming, ra programming, programming inheritance, programming college, inheritance programming, hire a student, hire a college student, grade 10 c# programming, float programming, float c programming, c programming enum, c programming char, char in c programming, char c programming, c programming compiler

Om arbejdsgiveren:
( 0 bedømmelser ) Kenya

Projekt ID: #3328658

46 freelancere byder i gennemsnit $24 på dette job

tzarov

See private message.

$25.5 USD in 3 dage
(9 bedømmelser)
6.0
SUog

See private message.

$12.75 USD in 3 dage
(132 bedømmelser)
6.1
eothman

See private message.

$21.25 USD in 3 dage
(76 bedømmelser)
5.8
DanD

See private message.

$8.5 USD in 3 dage
(212 bedømmelser)
5.8
iconsultantvw

See private message.

$17 USD in 3 dage
(33 bedømmelser)
5.3
arnoldmatusz

See private message.

$25.5 USD in 3 dage
(46 bedømmelser)
5.1
lostbard

See private message.

$12.75 USD in 3 dage
(221 bedømmelser)
5.2
coderhere

See private message.

$8.5 USD in 3 dage
(28 bedømmelser)
5.1
rainbow

See private message.

$102 USD in 3 dage
(44 bedømmelser)
5.8
lmxvw

See private message.

$19.55 USD in 3 dage
(126 bedømmelser)
4.7
mihaizilahi

See private message.

$4.25 USD in 3 dage
(43 bedømmelser)
4.5
sysg

See private message.

$6.8 USD in 3 dage
(25 bedømmelser)
4.6
altiusecrea

See private message.

$293.25 USD in 3 dage
(19 bedømmelser)
4.5
shahizanvw

See private message.

$21.25 USD in 3 dage
(46 bedømmelser)
4.6
plasisinnovation

See private message.

$8.5 USD in 3 dage
(12 bedømmelser)
4.0
gworroll

See private message.

$29.75 USD in 3 dage
(42 bedømmelser)
3.7
grayfacedbu

See private message.

$11.05 USD in 3 dage
(39 bedømmelser)
3.5
abirovw

See private message.

$5.95 USD in 3 dage
(29 bedømmelser)
3.5
johnmarkhowell

See private message.

$17 USD in 3 dage
(20 bedømmelser)
4.8
zigotuvw

See private message.

$8.5 USD in 3 dage
(5 bedømmelser)
3.7