After painstakingly coding this up I have been informed that std::stod from the <string> library won't work for this assignment as the default compiler at my school does not support c++11 ISO standard. What are my alternatives in this case?
I needed it to read things like this:
center_1[i-1] += stod(train_1.data[j][i])
I've provided the full code for context. Let me know if anything else will help. Thank you.