24 lines
1.1 KiB
C++
24 lines
1.1 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* main.cpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/12/21 19:52:47 by rparodi #+# #+# */
|
|
/* Updated: 2024/12/23 14:34:53 by rparodi ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "Fixed.hpp"
|
|
|
|
int main(void) {
|
|
Fixed a;
|
|
Fixed b( a );
|
|
Fixed c;
|
|
c = b;
|
|
std::cout << a.getRawBits() << std::endl;
|
|
std::cout << b.getRawBits() << std::endl;
|
|
std::cout << c.getRawBits() << std::endl;
|
|
return 0;
|
|
}
|