Search:

Type: Posts; User: quzah

Search: Search took 0.14 seconds.

  1. Oh you're one of *those people*. Quzah.

    Oh you're one of *those people*.


    Quzah.
  2. for( x = 0; x < SIZE && fgets( buf, BUFSIZ, fp );...

    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.
    ...
Results 1 to 2 of 2