feat: finishing the exercice 00 of the cpp02

This commit is contained in:
Raphael 2024-12-23 14:35:26 +01:00
parent bbc496d868
commit ff72109a4e
4 changed files with 223 additions and 0 deletions

24
cpp02/ex00/main.cpp Normal file
View file

@ -0,0 +1,24 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* 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;
}