consolidate all repos to one for archive
This commit is contained in:
17
semester_2/programiranje_2/primeri/Example06/CPoint.h
Normal file
17
semester_2/programiranje_2/primeri/Example06/CPoint.h
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
#ifndef EXAMPLE06_CPOINT_H
|
||||
#define EXAMPLE06_CPOINT_H
|
||||
|
||||
#include "Point.h"
|
||||
|
||||
class CPoint {
|
||||
private:
|
||||
Point p; // composition
|
||||
int color;
|
||||
public:
|
||||
CPoint();
|
||||
CPoint(int x, int y, int c);
|
||||
void print() const;
|
||||
};
|
||||
|
||||
#endif //EXAMPLE06_CPOINT_H
|
||||
Reference in New Issue
Block a user