Написать комментарии к коду. Программирование С++ Нужно пояснение кода. Код с комментариями.
 #include
 #include
 #include
 #include
 #include
 #include
 #include
 using namespace std;
 class Rational
 {
 public:
 Rational() //конструктор по умолчанию
 {
 num = 0;
 den = 1;
 }
 Rational(int numerator, int denominator)
 {
 if (denominator 0 && b > 0)
 {
 if (a > b)
 {
 a %= b;
 }
 else
 {
 b %= a;
 }
 }//while
 return a + b;
 }
 };
 bool operator == (Rational a, Rational b) /перезгузим оператор ==
 {
 if ((a.Numerator() == b.Numerator()) && (a.Denominator() == b.Denominator()))
 {
 return true;
 }
 else {
 return false;
 }
 }
 bool operator > (Rational a, Rational b) ) /перезгузим оператор ==
 {
 return (a.Numerator() / (double)a.Denominator()) > double(b.Numerator() / (double)b.Denominator()); ) /перезгузим оператор ==
 }
 bool operator < (Rational a, Rational b)
 {
 return (a.Numerator() / (double)a.Denominator()) < (b.Numerator() / (double)b.Denominator());
 }
 int main() {
 {
 const set rs = { {1, 2}, {1, 25}, {3, 4}, {3, 4}, {1, 2} };
 if (rs.size() != 3) {
 cout << "Wrong amount of items in the set" << endl;
 return 1;
 }
 vector v;
 for (auto x : rs) {
 v.push_back(x);
 }
 if (v != vector{ {1, 25}, { 1, 2 }, { 3, 4 }}) {
 cout << "Rationals comparison works incorrectly" << endl;
 return 2;
 }
 }
 {
 map count;
 ++count[{1, 2}];
 ++count[{1, 2}];
 ++count[{2, 3}];
 if (count.size() != 2) {
 cout << "Wrong amount of items in the map" << endl;
 return 3;
 }
 }
 cout << "OK" << endl;
 return 0;
 }