How to code a function like the one below in C? (NOT C++)
int hashCreate(char szFileNm[], HashHeader *pHashHeader)
This function creates a hash file containing only the HashHeader record.
• If the file already exists, return RC_FILE_EXISTS
• Create the binary file by opening it.
• Write the HashHeader record to the file at RBN 0.
• fclose the file.
• return RC_OK
Get Answers For Free
Most questions answered within 1 hours.