double getValue(int fieldno);

The function getValue() returns content of any numeric field as a double value.
Do not forget to call readRecord().


{
    // your code
    dbf->readRecord( row );
    printf( "%f\n", dbf->getValue( 0 ) );
    // your code
}