int fieldCount();

Function fieldCount() returns a number of fields in a dbf file.


{
    // your code
    printf( "Fieldcount = %ld\n", dbf->fieldCount() );
    // your code
}