this code works in microsoft visual c++, but when i run this in Xcode, it give me error No member named 'to_string' in namespace 'std'
double learningRates[] = {0.00015, 0.00065, 0.00075, 0.0015, 0.0045, 0.0065, 0.0075, 0.055};
long double learning_Value = learningRates[learningRate_Index];
string pathtotal_weight_Bias= pathWeightBias +"/" + "best_weight_Bias" + convertInt(MaxEpochs) +"_LR"+ to_string(learning_Value)+".xml";
even if i used std::to_string(learning_Value), even than it gives the same error.
Kindly guide me in this regards. thanks