#include std::string toString(long int n) { #if __cplusplus < 201103 std::stringstream elPollo; elPollo << n; return elPollo.str(); #else return std::to_string(n); #endif // __cplusplus < 201103 }