You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.3 KiB

3 years ago
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Converter.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: narnaud <narnaud@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/30 08:45:12 by narnaud #+# #+# */
2 years ago
/* Updated: 2022/08/18 08:45:46 by narnaud ### ########.fr */
3 years ago
/* */
/* ************************************************************************** */
#pragma once
#include <string>
#include <iostream>
#include <cstdlib>
#include <stdexcept>
#include <cctype>
#include <limits>
2 years ago
#include <cmath>
2 years ago
#include <iomanip>
2 years ago
3 years ago
using std::string;
class Converter{
string _input;
char _c;
int _i;
float _f;
double _d;
public:
Converter(string str);
2 years ago
Converter(void);
3 years ago
Converter(Converter const & src);
virtual ~Converter(void);
Converter & operator= (Converter const & src);
};