Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90568924
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
Sat, Nov 2, 20:50
Size
681 B
Mime Type
text/x-c++
Expires
Mon, Nov 4, 20:50 (2 d)
Engine
blob
Format
Raw Data
Handle
22100471
Attached To
R9360 PCSC_git
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