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

19
ex00/Fixed.hpp Normal file
View file

@ -0,0 +1,19 @@
#ifndef FIXED_HPP
#define FIXED_HPP
class Fixed {
public:
Fixed();
Fixed(Fixed &other);
Fixed &operator=(Fixed &other);
~Fixed();
int getRawBits(void) const;
void setRawBits(int const raw);
private:
int value;
static const int fracbits;
};
#endif