Oh you're one of *those people*.
Quzah.
Type: Posts; User: quzah
Oh you're one of *those people*.
Quzah.
for( x = 0; x < SIZE && fgets( buf, BUFSIZ, fp ); x++ )
{
if( sscanf( buf, "%f", &array[ x ] ) != 1 )
printf( "Your stuff broke.\'%s\'\n", buf );
}
Something like that should work.
...