Скачиваний:
2
Добавлен:
25.05.2014
Размер:
786 б
Скачать
#ifndef _COMP_TA_H_12230482543485732
#define _COMP_TA_H_12230482543485732

class TComplex
{
  private:
    float R;                                        //Real part;
    float Im;                                       //Image part;
  public:
          TComplex    (float =0, float =0);         //Constructor;
    float Image       ();                           //Get Image part;
    float Real        ();                           //Get Real  part;
    int   SetImage    (float);                      //Set Image part;
    int   SetReal     (float);                      //Set Real  part;

    int   operator == (TComplex);                   //Operator ==
    int   operator != (TComplex);                   //Operator !=
};


#endif //_COMP_TA_H_12230482543485732
Соседние файлы в папке Zad1