bool markAsDeleted(int fieldno);

The function markAsDeleted() marks a record as a deleted (puts a symbol '*' to the first position of record.)


{
    // your code
    dbf.markAsDeleted(10);
    dbf.markAsDeleted(20);
    // your code
}