00001 00003 00004 // / 00005 // Projet : Générateur de cylindres généralisés / 00006 // / 00007 // Nom du fichier : utils.h / 00008 // / 00009 // Creation : 19/11/2005 / 00010 // / 00011 // Description : Le fichier utils.h regroupe des fonctions partagées par les classes du / 00012 // package qgl. 00013 // / 00014 // / 00015 // Auteurs : - Guitteny Fabrice / 00016 // - Idiart Baptiste / 00017 // - Le Goff Erwan / 00018 // / 00020 00021 #include <math.h> 00022 #include <string.h> 00023 #include <iostream> 00024 #include <stdio.h> 00025 00026 #ifndef UTILS_H 00027 #define UTILS_H 00028 00034 using namespace std; 00035 00037 int stoi(string s); 00038 00040 float stof(string s); 00041 00042 //**suppression des espaces et tabulations*/ 00043 void delSpace(string &line); 00044 00045 00046 #endif 00047