int numberOfLines = 0;
char tmpValue[500];
std::vector<std::string> *vecData;
- FILE *ff1 = fopen( bbGetInputFileName().c_str() , "r+" );
+ FILE *ff1 = fopen( bbGetInputFileName().c_str() , "r" );
if (ff1!=NULL)
{
for (iSkipLines=0;iSkipLines<bbGetInputSkipLines(); iSkipLines++ )
- {
- fgets( tmpValue , 500, ff1 );
- }
+ {
+ fgets( tmpValue , 500, ff1 );
+ }
while (!feof(ff1))
{