I am doing a program where I\'m multiplying matricies, but my big issue is converting from the input into the two arrays that I\'ll eventually be multiplying. The following is my code for conversion i
Is there a built in function in c++ that can handle conve开发者_运维知识库rting a string like \"2.12e-6\" to a double?strtod()atof should do the job. This how its input should look like:
I got a char array, a huge arraychar p[n] read from a txt like. //1.txt 194.919 -241.808 234.896 195.569 -246.179 234.482