Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
3
Posts with Downvotes
2
Downvoting Members
3
2 Commented Posts
0 Endorsements
~2K People Reached
Favorite Tags
Member Avatar for donelliewhyte

I want to work with the json below in andoroid, but I am getting an error in my app.I will be working extensively with the yummly api but the data i need resides in the matches array, but I am not sure what is the problem. I have also attahed …

Member Avatar for peter_budo
0
170
Member Avatar for donelliewhyte

The compiler is displaying that i have a syntax error at the end of input for the below code [CODE]void doctorreport(void) { system("color 2"); char Target[50]; int tell=0; int Found=0,count=0; char doctor1[30],doctor2[30],doctor3[30]; int health=0,fees=0,collected=0; int choice=0; if((customer1=fopen("transaction.txt","r"))==NULL) printf("THE FILE IS EMPTY"); else { printf("\n\n\t\t PLEASE ENTER A OPTION BELOW FOR …

Member Avatar for Ancient Dragon
-2
86
Member Avatar for donelliewhyte

I am scanning the contents of file and then performing some simple operations. First i want to scan the file for a particular doctor name that works. I have two records in the file but its not incrementing the counter to check patients which belong to that doctor and add …

Member Avatar for Ancient Dragon
0
128
Member Avatar for donelliewhyte

Thanks for your help so far that i have achieved my goal. My other problem is updating a particular record using fseek() [CODE]void updaterecord(void) { system("color 2"); struct custinfo info; FILE *customer1; customer1=fopen("customer1.txt","r"); if (customer1==NULL) printf("\n\n\t\t\t FILE WAS NOT FOUND "); else { char choice4; char Target[50]; int Found=0; if((customer1=fopen("customer1.txt","r"))==NULL) …

Member Avatar for Ancient Dragon
0
124
Member Avatar for whoamineo89

so far the address book is compiling and takes in entries and runs all the other functions but the search and delete methods don't work even though I have the entry entered in a file and the code should use that very same file to display the names etc if …

Member Avatar for donelliewhyte
0
190
Member Avatar for donelliewhyte

Is there any way to make the compiler remember the last integer value it wrote to a file. i declared the value as a static but after i write to the file ,the value goes back.

Member Avatar for Ancient Dragon
0
58
Member Avatar for donelliewhyte

my true objective is to read back for the file into the structure but i am just not making any progress. I have placed an attachment of the file. I am just not comprehending all of the codes that i am seeing from the snippets. So can someone please give …

Member Avatar for WaltP
0
96
Member Avatar for donelliewhyte

I these contents below written to a file.I want to user to input a number and i will then scan the file to see if it matches my registration number. But in doing this i just want to get the 1001 from the first line. REGISTRATION: 1001 NAME Donellie Whyte …

Member Avatar for Adak
0
114
Member Avatar for donelliewhyte

IF i write to file REGISTRATION NUMBER :1001 how can read back from the file the 1001. Thank you for all your help,i have gotten other hints but they don't seem to work

Member Avatar for jephthah
0
76
Member Avatar for donelliewhyte

Smiles dental centre requires a computer system that can maintain records on its patients as well as automate specific processes that take place daily. The centre has a dental surgeon, an orthodontist and a dentist. The orthodontist deals with customers with braces (new and existing customers); the dental surgeon will …

Member Avatar for Ancient Dragon
0
139
Member Avatar for donelliewhyte

I am trying to try search a file for a record based on on a number is enter which is printed to a file under registratation number.I just want to know if my coding is correct.Below is a sample of the module. [CODE]{ struct custinfo info; FILE *customer; char number[5]; …

Member Avatar for WaltP
0
215
Member Avatar for donelliewhyte

Thanks for all the help so far but i am writing to a file numbers from as string and i am getting incorrect results.how may i correct this

Member Avatar for WaltP
0
75
Member Avatar for donelliewhyte

thanks for all the help that i have been getting but can anyone suggest how i may read a 4 character string from a text file then compare it to an input from the user then print the relating information

Member Avatar for Nick Evan
0
72