main.cpp 1.1 KB

12345678910111213141516171819202122232425262728
  1. /* ************************************************************************** */
  2. /* */
  3. /* ::: :::::::: */
  4. /* main.cpp :+: :+: :+: */
  5. /* +:+ +:+ +:+ */
  6. /* By: bchanot <bchanot@gmail.fr> +#+ +:+ +#+ */
  7. /* +#+#+#+#+#+ +#+ */
  8. /* Created: 2025/07/17 15:10:40 by bchanot #+# #+# */
  9. /* Updated: 2025/07/17 15:11:09 by bchanot ### ########.fr */
  10. /* */
  11. /* ************************************************************************** */
  12. #include "Fixed.class.hpp"
  13. #include <iostream>
  14. int main( void ) {
  15. Fixed a;
  16. Fixed b( a );
  17. Fixed c;
  18. c = b;
  19. std::cout << a.getRawBits() << std::endl;
  20. std::cout << b.getRawBits() << std::endl;
  21. std::cout << c.getRawBits() << std::endl;
  22. return 0;
  23. }