 
        
        
          Добавил:
          
          
        
        
    
            yermolenkoigor9
            
            
            
            
            
            Опубликованный материал нарушает ваши авторские права? Сообщите нам.
          
          Вуз:
          Предмет:
          Файл:First_magistr / First_course_magistr / Classes_modification_lab3 / precomp
.h#ifndef PRECOMP_H_INCLUDED
#define PRECOMP_H_INCLUDED
#include <iostream>
#include <string>
#include <windows.h>
#include <math.h>
using namespace std;
class point// точка
{
public:
    float x,y;
    point(float xn = 0.0, float yn = 0.0);
    void print_point();
};
class rectangle// прямоугольник
{
private:
    point upleft, dnrite;
    const int static arrsize;
    string colour;
public:
    rectangle();
    rectangle(point ul, point dr, string cl);
    rectangle(float ulx, float uly, float drx, float dry, string cl);
    void get_upleft();
    void get_dnrite();
    void get_colour();
    void get_square();
    void get_motion();
    void cornerings();
    void changecolr();
    void lenhthdiag();
    void everyelmnt();
friend void isitsquare(rectangle R);
};
#endif // PRECOMP_H_INCLUDED
