Hi, when i run my program the following error occurs:
"Unhandled exception at 0x00415b72 in testMatrix_size.exe: 0xC0000005: Access violation writing location 0xfdfdfdfd."
and seems to happen over the line converting a string to double:
n = Comma - Position;
Numbers=line.substr(Position,n);
Data[j] = atof(Numbers.c_str()); //problem is here.
The program does the conversion correctly (reading data from a file, data is just rows of numbers in a text file) on the first line and then when at the second line the string Numbers has the correct number stored in it but then the program throws the above error...
Any help would be great, thanks