I have worked a lot on my code and have fixed the problem of scanning in the number of students, but I am still having difficulty with scanning in the information of the file.
void...
Type: Posts; User: crimsonpetal13
I have worked a lot on my code and have fixed the problem of scanning in the number of students, but I am still having difficulty with scanning in the information of the file.
void...
I have been compiling with warnings on, but when I typed the code in last night onto here, I forgot to include the fp.
Here is the code I have that won't work, copied straight from the code.
...
I see that I forgot to tell it what to print...
fprintf("The number of students is %d", studentnumber);
It is still freezing up and not registering the number. It says the number of...
Yeah, I went ahead and changed the switch case to integers instead of characters and it worked great. I am almost done with the program. I have tested the creating student function, and I am...
Yes, I have all of the breaks after each case.
I am wondering if there is a problem with the choice that is being scanned in and the case choice.
Here is the rest of the code, and there are...
Thanks for all of your help so far! In the main project of my program I have just now written the switch statement for the user to choose whether they want to create a new linked list or load one...
Thanks! it has helped. I will get back on if I run into any more problems that I can't figure out.
Here are the detailed error messages, with the line numbers.
41 G:\School\MATH 202\Homework\Student.c [Warning] passing arg 1 of `fscanf' from incompatible pointer type
I was trying to scan...
I understand what you mean about the errors, so here are the following errors:
[Warning] passing arg 1 of `fscanf' from incompatible pointer type
[Warning] passing arg 1 of `fscanf' from...
I have changed the majority of the code concerning the loadstudent and sortstudent function, but I am still getting error messages. I think that most of them stem from the sort and scanning in the...
I am currently working on a new c language project that is supposed to deal with structures and linked lists. A description of the end program is listed below...
Load a set of student records...