Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~175 People Reached
Favorite Forums
Favorite Tags
c x 1
Member Avatar for Ace7z

This is my function UpdateWord. It searches for a word in the file and updates the word or the meaning void UpdateWord(void) { char srchWrd[30],choice,qtn='Y'; int x,y; dictio a, temp; FILE*ptr; do { printf("\nEnter Word to update: "); fflush(stdin); gets(srchWrd); x=strlen(srchWrd); for(y=0;y<x;y++) srchWrd[x] = tolower(srchWrd[x]); if((srchWrd[0]>='a')&&(srchWrd[0]<='i')) ptr=fopen("A-I.dat","r+b"); else if((srchWrd[0]>'i')&&(srchWrd[0]<'s')) ptr=fopen("J-R.dat","r+b"); …

Member Avatar for Ancient Dragon
0
175