Introduction - If you have any usage issues, please Google them yourself
void BookAdd () {FILE* fp Book consultbook fp = fopen (" book.txt" , " rb " ) /* opened for reading file*/if (fp == NULL) fp = fopen (" book.txt " ," wb " ) /* open for writing files*/else /* if the book is added* /