Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102887498
Student.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Feb 25, 05:27
Size
663 B
Mime Type
text/x-c++
Expires
Thu, Feb 27, 05:27 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
24442229
Attached To
R1106 Programming Concept Rouaze
Student.hpp
View Options
/*
* Student.hpp
*
* Created on: Oct 25, 2012
* Author: rpopescu
*/
#ifndef STUDENT_HPP_
#define STUDENT_HPP_
#include<string>
class
Student
{
public
:
// Default constructor
Student
();
// Alternate constructors
Student
(
const
std
::
string
&
name
);
Student
(
const
std
::
string
&
name
,
const
double
fines
,
const
double
fees
);
// Destructor
virtual
~
Student
()
{}
// Get methods
double
GetFines
()
const
;
// Set methods
void
SetFines
(
const
double
fines
);
// Return the total money owed by the student
virtual
double
MoneyOwed
()
const
;
private
:
// Private data
std
::
string
name_
;
double
fines_
;
double
fees_
;
};
#endif
/* STUDENT_HPP_ */
Event Timeline
Log In to Comment