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 #+# #+# */
/* Updated: 2022/07/12 08:46:08 by narnaud ### ########.fr */
/* */
/* ************************************************************************** */
#pragma once
#include <string>
#include <iostream>
#include <cstdlib>
#include <stdexcept>
#include <cctype>
#include <limits>
3 years ago
using std::cout;
using std::endl;
using std::string;
class Converter{
string _input;
char _c;
int _i;
float _f;
double _d;
int _types[4];
public:
Converter(void);
Converter(string str);
Converter(Converter const & src);
virtual ~Converter(void);
Converter & operator= (Converter const & src);
};