Добавил:
Angel_of_Death
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:
#include "stdafx.h"
#include "Point.h"
#include <iostream>
using namespace std;
Point::Point()
{
x = 0;
y = 0;
}
void Point::View()
{
cout << "Parameters Point: " << x << ", " << y << endl;
}
void Point::SetX(float x_)
{
x = x_;
}
void Point::SetY(float y_)
{
y = y_;
}
float Point::GetX()
{
return x;
}
float Point::GetY()
{
return y;
}
Point::~Point()
{
}
Соседние файлы в папке Lab3