fichiers organisés

This commit is contained in:
hugogogo
2022-03-07 15:16:05 +01:00
parent b8bf7e45dd
commit 142687283e
8 changed files with 159 additions and 78 deletions

View File

@@ -0,0 +1,29 @@
#include <iostream>
#include <string>
#include <cctype> // isdigit()
#include "color.h"
//Char toChar(str) {
//
//}
bool isDouble(std::string str) {
if (str.length() == 3)
return true;
return false;
}
bool checkDouble(std::string str) {
// double d;
std::cout << "double\n";
if (!isDouble(str))
return false;
// d = toDouble(str);
// std::cout << "double"RESET" equal to : "B_CYAN << d << RESET << "\n";
// fromDouble(d);
return true;
}