Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
1.00/5 (7 votes)
See more:
This project will give you practice with:
· Structures
· Strings
· Pointers and memory allocation
· Linked list
· File I/O
Specification
You are required to write a C program to manage student grades for many courses.
Each student has the following properties:
ID: String (maximum 9 character)
Name: String (maximum 30 character)
For each student has a list of grades for all courses. A grade may be ‘A’, ‘B’, ‘C’, ‘D’ and ‘F’.
Your program should implement two linked lists for each students (see example below).
“Linked list of sorted courses by Code”

Head 427400700 428340780 429800923 429904895
Mohamed Arifi Abdelaziz Dousari Fuhd Alzamil Sultan Tamimi
CSC111 CSC111 CSC111 CSC111
A A D B
CSC114 CSC114 CSC114 CSC114
B C A A
… … … …
CSC320 CSC320 CSC320 CSC320
F B A F
Your program should implement the following menu:
1. Add student
2. Delete Students
3. Display students
4. Number of students by course and grade
5. Sort students by grades
6. Main menu
Options 3 and 4 store courses and students in a data files.
2
Posted
Updated 29-Jul-12 2:12am
v2
Comments
[no name] 26-Jul-12 7:54am    
You would benefit more by doing your own homework
pasztorpisti 29-Jul-12 8:56am    
I never understood why do some ppl learn programming if they don't like it...
If I'm wrong this time then let's just do it by yourself and ask specific questions about the spots inside your program you can't solve.
If you are not into programming then quit your course and rethink your life because you are going to r@pe yourself! Maybe rockstardom would suit you more...

This project will give you practice with


"If Carlo writes the code for you then this project will give you no practice (albeit good PM skills)".
 
Share this answer
 
It does not work like this here.

Here is what is expected of enquirers:
1. TRY first what you want to do! You may find that it's not that hard.
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.
Members will be more than happy to help like this.
 
Share this answer
 
Comments
bbirajdar 29-Jul-12 15:59pm    
Good suggestion
You should definatly search the documentation of your compiler. I have taken the liberty of giving a link to various documentation from Microsofts C++:

1. Create a class that cointains all the information on one student.
http://msdn.microsoft.com/en-US/library/w5c4hyx3%28v=vs.80%29[^]

2. Read/write the (assuming txt) file:
http://msdn.microsoft.com/en-us/library/system.io.file#Y0[^]

You shouild by now be abel to find the rest of the missing information. So good luck to you:)
 
Share this answer
 
Divide and conquer:

1. study about the issues that the teacher has given to you.
2. start thinking on what has properties.
3. make the rest.

NOTE:
Studying is the easiest part: you have some people telling you what you need to know to be able to pass the exams.
Wait to arrive into the real world of work. then you will have deadlines that will feel like DEADlines and you won't have anyone helping you to get the job done.

PS: Of course some CPians can help you but only if you can write a decent question.
 
Share this answer
 
I'm trying to solve problem but I can't because my practic in nested linked list it's very poor <<<

I try to read about object but no result ,,,

please I want solve in fast time please my friend ....
 
Share this answer
 
Comments
Richard MacCutchan 29-Jul-12 15:20pm    
Then you need to do more practice. Go and read your notes again, do some research, talk to your tutor. If you get other people to do the work for you then you are not going to learn anything.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900