请尽快解决文件中的此问题,请>> [英] please I want solve to this problem in the file in fast time please >>
问题描述
该项目将为您提供以下实践:
·结构
·字符串
·指针和内存分配
·链接列表
·文件I/O
规格
您需要编写C程序来管理许多课程的学生成绩.
每个学生都具有以下属性:
ID:字符串(最多9个字符)
名称:字符串(最多30个字符)
每个学生都有所有课程的成绩列表.成绩可能是"A","B","C","D"和"F".
您的程序应为每个学生实现两个链接列表(请参见下面的示例).
按代码分类的课程的链接列表"
…
头427400700 428340780 429800923 429904895
Mohamed Arifi Abdelaziz Dousari Fuhd Alzamil苏丹塔米米
CSC111 CSC111 CSC111 CSC111
A A D B
CSC114 CSC114 CSC114 CSC114
B C A A
…………
CSC320 CSC320 CSC320 CSC320
F B A F
您的程序应实现以下菜单:
1.添加学生
2.删除学生
3.展示学生
4.按课程和年级划分的学生人数
5.按年级对学生进行排序
6.主菜单
选项3和4将课程和学生存储在数据文件中.
2
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
推荐答案
>
该项目将为您提供
在这里不能这样工作.
这是询问者的期望:
1. 先尝试您要做什么!您可能会发现它并不难.
2.制定看起来像问题/无法解决的问题.
试试看,告诉他们是否遇到问题.
成员将非常乐于提供这样的帮助.
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.
您应该明确地搜索编译器的文档.我自由地提供了指向Microsoft C ++的各种文档的链接:
1.创建一个类,其中包含一个学生的所有信息.
http://msdn.microsoft.com/zh-CN/library/w5c4hyx3% 28v = vs.80%29 [ ^ ]
2.读取/写入(假定txt)文件:
http://msdn.microsoft.com/en-us/library/system.io. file#Y0 [^ ]
现在,您应该寻找其他缺少的信息.祝您好运:)
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:)
这篇关于请尽快解决文件中的此问题,请>>的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!