You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.1 KiB
26 lines
1.1 KiB
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* main.cpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: narnaud <narnaud@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2022/06/20 10:07:23 by narnaud #+# #+# */
|
|
/* Updated: 2022/06/20 10:37:27 by narnaud ### ########.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;
|
|
}
|
|
|