I had to convert an int element of an array to a string...so this is how I did....

string somestring = IntToString(xyz[i]);

#include <sstream>

string IntToString(int num)
{
...