Processing data creates enhanced data in the contact object. If your process is successful, you may output the record. You may also output information for debugging, such as textual field names and option settings:
pcACR = getField(&myContact, OFTACR);
if (*pcACR == 'L')
{
cout << "Output processed contact in "
<< GetOCOText(&myServer,
GetOption(&myServer,
OONAddressCasing))
<< " with field names."
<< endl;
for (i = OFTRecordID;
i < OFTNumFieldsPlusOne;
i++)
{
if (strlen(getField(&myContact, i)) > 0)
cout << GetOFTText(&myServer, i)
<< " : "
<< getField(&myContact, i)
<< endl;
}
}