Assignment Search Framework
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
string_utils.cpp File Reference

Functions

string int_to_string (int i)
 
string double_to_string (double i)
 
void split (const string &s, std::vector< std::string > &tokens, char delim)
 

Function Documentation

string double_to_string ( double  d)

Converts the given double to a string.

Parameters
dThe double to convert.
Returns
The string representation of the double.
string int_to_string ( int  i)

Converts the given integer to a string.

Parameters
iThe integer to convert.
Returns
A string representation of the given integer.
void split ( const string &  s,
std::vector< std::string > &  tokens,
char  delim 
)