bastien преди 4 месеца
родител
ревизия
6bd0e00b0e
променени са 3 файла, в които са добавени 7 реда и са изтрити 1 реда
  1. BIN
      Module_02/ex00/includes/.Fixed.class.hpp.swp
  2. BIN
      Module_02/ex00/srcs/.Fixed.class.cpp.swp
  3. 7 1
      Module_02/ex00/srcs/Fixed.class.cpp

BIN
Module_02/ex00/includes/.Fixed.class.hpp.swp


BIN
Module_02/ex00/srcs/.Fixed.class.cpp.swp


+ 7 - 1
Module_02/ex00/srcs/Fixed.class.cpp

@@ -6,7 +6,7 @@
 /*   By: bchanot <bchanot@gmail.fr>                 +#+  +:+       +#+        */
 /*                                                +#+#+#+#+#+   +#+           */
 /*   Created: 2025/07/16 16:07:34 by bchanot           #+#    #+#             */
-/*   Updated: 2025/07/16 16:14:24 by bchanot          ###   ########.fr       */
+/*   Updated: 2025/07/16 16:43:03 by bchanot          ###   ########.fr       */
 /*                                                                            */
 /* ************************************************************************** */
 
@@ -29,4 +29,10 @@ Fixed::~Fixed(void) {
 	return ;
 }
 
+int	getRawBits(void) const {
+	return this->_value;
+}
+
+void	setRawBits(int const raw)
 
+		Fixed				&operator=(Fixed const &rhs);