replacing the comma with a decimal point is pretty trivel. What is the field separator in that file -- probably tabs since commas are used in the numbers?
Code:
char *p;
FILE *fp = fopen("somefile.cvs","r");
char iobuf[255]; // or some other bigger or smaller number
while( fgets(iobuf,sizeof(iobuf),fp) )
{
while( (p = strchr(iobuf,',')) != 0)
*p = '.';
// now break the line into its individual fields assumed to be floating-pointer
// integers separated by tabs
p = strtok(buffer,"\t");
while(p)
{
float a = atof(p);
// put a into whatever struct you want it.
p = strtok(0,"\t");
}
}