}
int numberOfLines = 0;
- char tmpValue[50];
+ char tmpValue[1000];
std::vector<int> *vecData;
FILE *ff1 = fopen( bbGetInputFileName().c_str() , "r+" );
if (ff1!=NULL)
{
+ if (!feof(ff1))
+ fscanf(ff1,"%s",tmpValue);
+
while (!feof(ff1))
{
for( i=0 ; i<bbGetInputDimension() ; i++)
{
- fscanf(ff1,"%s",tmpValue);
vecData=tlst[i];
vecData->push_back( atoi(tmpValue) );
+ fscanf(ff1,"%s",tmpValue);
}
numberOfLines++;
}
fscanf(ff1,"%s ",tmpValue);
vecData=tlst[i];
vecData->push_back( tmpValue );
- printf("*******************************************EC ReadColumnsString::Last Value: %s \n",tmpValue);
}
numberOfLines++;
}