diff options
Diffstat (limited to 'cpp02/ex02/main.cpp')
| -rw-r--r-- | cpp02/ex02/main.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/cpp02/ex02/main.cpp b/cpp02/ex02/main.cpp deleted file mode 100644 index 7625260..0000000 --- a/cpp02/ex02/main.cpp +++ /dev/null @@ -1,30 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* main.cpp :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2020/04/13 11:51:15 by charles #+# #+# */ -/* Updated: 2020/10/19 12:42:08 by cacharle ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#include <iostream> -#include "Fixed.hpp" - -int main(void) -{ - Fixed a; - Fixed const b(Fixed(5.05f) * Fixed(2)); - - std::cout << a << std::endl; - std::cout << ++a << std::endl; - std::cout << a << std::endl; - std::cout << a++ << std::endl; - std::cout << a << std::endl; - std::cout << b << std::endl; - std::cout << Fixed::max(a, b) << std::endl; - - return 0; -} |
