|
-
April 3rd, 2009, 02:02 AM
#1
Simple problem
Im very Confused where to start the practical can anyone give me any tips etc?
class Student {
private:
string studentName; // Would this be initialising a student's name and program code to empty strings.??????
string studentProgramCode;
public:
/**
* Default constructor.
* Creates an empty Student object by initialising a student's name and
* program code to empty strings.
*/
Student(); //Default constructor.???
/**
* Constructor.
* Creates a Student object with the given name and program code.
*/
Student(const string& name, const string& programCode);
/**
* return the name of this student.
*/
string getName()const;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|