diff --git a/ex00/src/Fixed.hpp b/ex00/src/Fixed.hpp index 343f7de..4034841 100644 --- a/ex00/src/Fixed.hpp +++ b/ex00/src/Fixed.hpp @@ -1,3 +1,5 @@ +#pragma once + class Fixed { private: diff --git a/ex01/ex01 b/ex01/ex01 new file mode 100755 index 0000000..b02c84d Binary files /dev/null and b/ex01/ex01 differ diff --git a/ex01/src/Fixed.hpp b/ex01/src/Fixed.hpp index 47d860d..a86258b 100644 --- a/ex01/src/Fixed.hpp +++ b/ex01/src/Fixed.hpp @@ -1,7 +1,6 @@ -#ifndef FIXED_H -# define FIXED_H +#pragma once -# include +#include class Fixed { @@ -25,5 +24,3 @@ class Fixed }; std::ostream& operator << (std::ostream &out, const Fixed& fixed); - -#endif diff --git a/ex02/ex02 b/ex02/ex02 deleted file mode 100755 index 768f63b..0000000 Binary files a/ex02/ex02 and /dev/null differ diff --git a/ex02/src/Fixed.hpp b/ex02/src/Fixed.hpp index 57c9a1c..4d6c766 100644 --- a/ex02/src/Fixed.hpp +++ b/ex02/src/Fixed.hpp @@ -1,5 +1,4 @@ -#ifndef FIXED_H -# define FIXED_H +#pragma once # include @@ -47,5 +46,3 @@ class Fixed }; std::ostream& operator << (std::ostream &out, const Fixed& fixed); - -#endif