Добавил:
Angel_of_Death
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:
#include "stdafx.h"
#include "Picture.h"
#include <iostream>
using namespace std;
Picture::Picture()
{
}
int Picture::Set(double _l, double _h, Base b)
{
l = _l;
h = _h;
if ((b.GetOstH() >= h) && (b.GetL() >= l))
{
cout << "This image can be placed in this document\n";
return 0;
}
else
{
cout << "This image can not be placed in this document\n";
return -1;
}
}
Picture::~Picture()
{
}
Соседние файлы в папке Sem4