feat(ex00): it works
This commit is contained in:
commit
b54faafe1d
6 changed files with 105 additions and 0 deletions
13
ex00/main.cpp
Normal file
13
ex00/main.cpp
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue