13 lines
250 B
C++
13 lines
250 B
C++
#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;
|
|
}
|