Developing ex00

This commit is contained in:
2025-09-10 01:08:11 +02:00
parent 39cecd7fd9
commit b4499a6bf0
4 changed files with 118 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Fixed.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/09/10 00:54:50 by tigos #+# #+# */
/* Updated: 2025/09/10 00:57:12 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
#include "Fixed.hpp"
// Default constructor
// Copy constructor
// Copy assignment operator overload
// Destructor
// int getRawBits( void ) const;
// void setRawBits( int const raw );

View File

@@ -0,0 +1,39 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Fixed.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/09/10 00:54:53 by tigos #+# #+# */
/* Updated: 2025/09/10 00:56:56 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FIXED_HPP
# define FIXED_HPP
# include <iostream>
class Fixed
{
private:
int value;
static const int fract;
public:
// Default constructor
// Copy constructor
// Copy assignment operator overload
// Destructor
// int getRawBits( void ) const;
// void setRawBits( int const raw );
};
#endif