Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~336 People Reached
Favorite Forums
Favorite Tags
c x 2
Member Avatar for maria1110

I'm writing a library system and need to search for a book entered in the system to renew it. But my search refuses to work Code void search(){ // function to locate a record int barc; char search_aulname[28],search_aufname[28],search_stufname[28],search_stulname[28],searchbk_title[500]; char aulastname[28],aufirstname[28],stufirstname[28],stulastname[28],bktitle[500],date[120],genre[28]; FILE*fp; system("cls"); printf("*****************************************\n"); printf("ENTER AUTHOR LAST NAME OF ITEM:\n"); fgets(search_aulname,28,stdin); …

Member Avatar for Adak
-1
207
Member Avatar for maria1110

[CODE]#include <stdio.h> #include <stdlib.h> #include <string.h> int strcmp(const char *s1, const char *s2); void overdue(); int main(){ overdue(); } void overdue(){ int x,overdue_fees; char answ[10]; char yes [10] = "yes"; char no[10] = "no"; int ret = strcmp(yes, no); system ("cls"); printf("\n <<<<<<<<<<<<<<<<<<<<<<<<**********OVERDUE ITEMS*********<<<<<<<<<<<<<<<<<<<<<<<<<< \n"); printf("\n"); printf("PLEASE ENTER BARCODE OF …

Member Avatar for WaltP
0
129