| <<< | Index | >>> |
// point.h
class Point
{
public:
Point(); // default constructor
Point( int x, int y );
private:
int m_x;
int m_y;
};
// point.cpp
Point::Point( int x, int y )
{
m_x = x;
m_y = y;
}
| <<< | Index | >>> |