[作业]编写C程序源代码 [英] [Homework]write a C Program source code
本文介绍了[作业]编写C程序源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请给我发源代码:
写入交流程序
1.添加员工
2.添加部门
3.将员工分配到有开始和结束日期的部门
4.退出
员工:(Employee.txt)
1,e.number->(自动编号)
2,e.name
3,e.age-> 20到58
4,e.city
部门:(department.txt)
1,d。号码
2,d.name
Emp-Dept:(empdept.txt)
1,e .number->名称
2,d.number->名称
3,开始日期
4,结束日期
Pls send me source code:
write a c program in
1.Add employee
2.Add Department
3.Assign an employee to a deptment with start and end date
4.Exit
Employee:(Employee.txt)
1,e.number->(Auto numbering)
2,e.name
3,e.age->20 to 58
4,e.city
Department:(department.txt)
1,d.number
2,d.name
Emp-Dept:(empdept.txt)
1,e.number->name
2,d.number->name
3,Start date
4,End date
推荐答案
根据OriginalGriff声明
我们不做你的功课:这是有原因的。在那里你可以考虑你被告知的事情,并试着去了解它。它也在那里,以便你的导师可以找出你软弱的地方,并把更多的注意力集中在补救行动上。 />
亲自尝试,你可能会发现它并不像你想象的那么困难!
As per OriginalGriff statement
"We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.
Try it yourself, you may find it is not as difficult as you think!"
这篇关于[作业]编写C程序源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文