Hi, I want to copy a csv file into an array using fscanf and keep the blank spaces in the csv file rather than just skip over them to the next number.
there are too many spaces in the csv file to fill them all in manually
I'm using C
any clues how i could do this??
thanks, heres a sample of my code
double ReadFromFile(FILE *inFile)
{
double value;
fscanf(inFile,"%lf,", &value);
printf("the value=%lf\n", value);
return (value);
}