main.cpp
1 /* ************************************************************************** */ 2 /* */ 3 /* ::: :::::::: */ 4 /* main.cpp :+: :+: :+: */ 5 /* +:+ +:+ +:+ */ 6 /* By: gychoi <gychoi@student.42seoul.kr> +#+ +:+ +#+ */ 7 /* +#+#+#+#+#+ +#+ */ 8 /* Created: 2023/08/02 17:45:27 by gychoi #+# #+# */ 9 /* Updated: 2023/08/02 20:31:33 by gychoi ### ########.fr */ 10 /* */ 11 /* ************************************************************************** */ 12 13 #include <iostream> 14 #include "Fixed.hpp" 15 16 int main(void) 17 { 18 Fixed a; 19 Fixed b( a ); 20 Fixed c; 21 22 c = b; 23 24 std::cout << a.getRawBits() << std::endl; 25 std::cout << b.getRawBits() << std::endl; 26 std::cout << c.getRawBits() << std::endl; 27 28 return 0; 29 }