#include <windows.h>
#include <commdlg.h>
#include <stdlib.h>
#include <io.h>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
Defines | |
#define | PI 3.14159265f |
#define | E 2.718281828f |
Functions | |
int | StringToInt (std::string stringValue) |
std::string | IntToString (int iValue) |
std::string | FloatToString (float fValue) |
template<class Type > | |
const Type | fromString (const std::string &strString) |
template<class Type > | |
const bool | fromString (Type &tValue, const std::string &strString) |
template<class Type > | |
const std::string | toString (const Type &tValue) |
#define E 2.718281828f |
#define PI 3.14159265f |
std::string FloatToString | ( | float | fValue | ) |
Converts a float value to an std:string
fValue | the float value to convert to an std::string |
const bool fromString | ( | Type & | tValue, | |
const std::string & | strString | |||
) | [inline] |
const Type fromString | ( | const std::string & | strString | ) | [inline] |
std::string IntToString | ( | int | iValue | ) |
Converts an int value to an std:string
iValue | the int value to convert to an std::string |
int StringToInt | ( | std::string | stringValue | ) |
Converts an std:string to an int value
stringValue | the string to convert to an int value |
const std::string toString | ( | const Type & | tValue | ) | [inline] |