invert print
This commit is contained in:
parent
fe32ade285
commit
13f208d577
@ -17,8 +17,8 @@ int main( void ) {
|
|||||||
const Fixed a(2.5f);
|
const Fixed a(2.5f);
|
||||||
const Fixed b(1.3f);
|
const Fixed b(1.3f);
|
||||||
|
|
||||||
std::cout << "b: " << a << std::endl;
|
std::cout << "b: " << b << std::endl;
|
||||||
std::cout << "a: " << b << std::endl;
|
std::cout << "a: " << a << std::endl;
|
||||||
|
|
||||||
Fixed sum = a + b;
|
Fixed sum = a + b;
|
||||||
std::cout << "Addition: " << sum << std::endl;
|
std::cout << "Addition: " << sum << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user