feat(ex00): it works

This commit is contained in:
Khaïs COLIN 2025-05-13 13:38:40 +02:00
commit b54faafe1d
Signed by: logistic-bot
SSH key fingerprint: SHA256:RlpiqKeXpcPFZZ4y9Ou4xi2M8OhRJovIwDlbCaMsuAo
6 changed files with 105 additions and 0 deletions

13
ex00/main.cpp Normal file
View file

@ -0,0 +1,13 @@
#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;
}