Operators Overloading for Date | C++ Date Class | C++ for Beginners | Urdu/Hindi

Поделиться
HTML-код
  • Опубликовано: 19 янв 2025

Комментарии • 2

  • @rockstarss7666
    @rockstarss7666 4 года назад +1

    Design a class Date with day, month and year as properties and overload the
    following operators:
    a) + operator [ a + b ( add 2 Date objects )]
    b) - operator [ a - b (diff. Between 2 Date objects) ]
    c) == operator [a=b ( Compare 2 Dates ) ]
    d) ++,-- [ post and pre both to add / deduct days from a given date ]
    Can you give me this code ..

    • @CodeItOfficial
      @CodeItOfficial  4 года назад

      Contact me on my fiverr gig.
      www.fiverr.com/share/ed5gLY