26 lines
1.1 KiB
C++
26 lines
1.1 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* main.cpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/11/09 19:23:26 by adjoly #+# #+# */
|
|
/* Updated: 2024/11/12 21:14:50 by adjoly ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "Fixed.hpp"
|
|
#include <iostream>
|
|
|
|
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;
|
|
}
|