#include "Fixed.hpp" #include int main( void ) { // Fixed a; // Fixed const b( Fixed( 5.05f ) * Fixed( 2 ) ); // // std::cout << a << std::endl; // std::cout << ++a << std::endl; // std::cout << a << std::endl; // std::cout << a++ << std::endl; // std::cout << a << std::endl; // // std::cout << b << std::endl; // // std::cout << Fixed::max( a, b ) << std::endl Fixed c(10); Fixed d(5); Fixed e; std::cout << "c: " << d << '\n'; std::cout << "d: " << c << '\n'; if (c < d) e = c; else e = d; std::cout << "e: " << e << '\n'; return 0; }