| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1760 人关注过本帖
标题:有偿请教:老师作业题C程序一道
只看楼主 加入收藏
lanny_navy
Rank: 1
等 级:新手上路
帖 子:8
专家分:0
注 册:2006-10-25
收藏
 问题点数:0 回复次数:19 
有偿请教:老师作业题C程序一道

1 goal
Learn how to develop an application protocol as well as build an application over UNIX(linux) socket .
2 project description: build an on-line personal schedule manager
In this programming assignment, you are going to build a simple on- line personal weekly schedule manager. You need to develop and implement an application level protocol to support user’s schedule management which uses TCP. Your scheduler should be a concurrent application server that handles many different clients at the same time. Your scheduler protocol should be able to allow the following functionalities:
 Scheduler maintains up to 1 year schedule: Jan 1to Dec 31 for each year;
 Login service
 Add a new appointment
 Remove an old appointment
 Update an existing appointment
 Check a time conflict when a new appointment is added
 Display a user’s the appointment: by time, date day week month or time interval
 Proper exception handling(e.g: illegal inputs ,illegal access, etc)
Assume there are many already created users and stored at the server, There is no need to add or delete users. You can use different techniques to store and manage user’s schedule at the server side: using simple text files, or databases, etc. it is up to you to choose the appropriate way to implement your personal schedule manager protocol. There is no extra a point for databases.
2.1 programming environment
 all programs have to be written C or C++ and run on Unix like platform. Please use SUN or Linux machines on Raytheon Lab
 all connections between a server and clients should be TCP/IP socket.
 A server and client should run on different machines.
2.2 Required skills
Everyone is expected to know following skills and knowledge in order to complete this programming assignment
 TCP/IP socket programming
 Understanding UNIX like operating system
 Creating/invoking processes in UNIX like environment
 C on current programming (fork() or multithread)
 Makefile
 C or C++
我的联系方式:QQ:52140905
msn:lanny_navy@126.com
Email:lanny_navy@126.com
skype:lanny_navy
Tel: 13894265924

[此贴子已经被作者于2006-10-26 19:31:07编辑过]

搜索更多相关主题的帖子: 作业 老师 
2006-10-26 19:29
小小贝
Rank: 1
等 级:新手上路
帖 子:44
专家分:0
注 册:2006-9-21
收藏
得分:0 
这是作业题??????汗一个.....
2006-10-28 23:47
e4lich
Rank: 2
等 级:新手上路
威 望:4
帖 子:182
专家分:0
注 册:2006-10-26
收藏
得分:0 
但愿斑竹能将它翻译成中文,不然就不但要会做的人啦,还要跟英语水平有关啦!

我只想变强!     
2006-10-29 00:49
清水香里
Rank: 1
等 级:新手上路
帖 子:144
专家分:0
注 册:2006-9-3
收藏
得分:0 
一个目标
学习该如何发展一个申请记录和建立在 UNIX(linux) 插座上的一个申请。
2 计画描述: 建立一位在线的个人时间表经理
在这项规画任务,你要建立一位简单的在线个人的周刊时间表经理。 你需要发展而且实现一个申请水平记录支援使用传输控制协议的使用者的时间表管理。 你的 scheduler 应该是同时处理许多不同的客户的一个协同的申请伺候器。 你的 scheduler 记录应该能够允许下列的功能性:
? Scheduler 达一种年时间表的维持: 一月 1 日对每年的十二月 31 日;
? 登录服务
? 增加一个新的预约
? 除去一个旧的预约
? 更新一个现有的预约
? 当一个新的预约被增加的时候,检查一个次冲突
? 显示一个使用者的预约: 在时间之前, 日期日子星期月或时间间隔
? 适当的例外处理(举例来说: 违法的输入 , 违法的通路, 及其他)
承担已经有多数产生了使用者而且储存了在伺候器, 没有需要增加或者划除使用者。 你能使用不同的技术在伺候器边储存而且处理使用者的时间表: 使用简单的本文申请, 或数据库, 等等依你的意思选择适当的方法实现你的个人时间表经理记录。 为数据库没有额外之物点。
2.1 规画环境
? 所有的计画必须被写 C 或 C++ 和在像月台的 Unix 上的奔跑。 请在 Raytheon 实验室上使用太阳或 Linux 机器
? 一个伺候器和客户应该是传输控制协议/IP 插座的之间的所有连结。
? 一个伺候器和客户应该涉及不同的机器。
2.2 必需的技术
每个人被期望在技术之后知道和知识为了要完成这规画任务
? 传输控制协议/IP 插座规画
? 理解 UNIX 喜欢操作系统
? 创造/唤起像环境在 UNIX 处理
? 在现在的规画上的 C(叉子 () 或多线)
? Makefile
? C 或 C++

www./www.
2006-10-29 10:24
lanny_navy
Rank: 1
等 级:新手上路
帖 子:8
专家分:0
注 册:2006-10-25
收藏
得分:0 
有人帮忙么?
2006-10-30 16:15
C语言学习者
Rank: 4
等 级:贵宾
威 望:13
帖 子:1278
专家分:0
注 册:2006-9-26
收藏
得分:0 

你学什么


谁有强殖装甲第二部,可以Q我460054868
2006-10-30 17:29
lanny_navy
Rank: 1
等 级:新手上路
帖 子:8
专家分:0
注 册:2006-10-25
收藏
得分:0 

本科学的工业工程,研究生现在正是研一

2006-10-31 00:54
lxfxiongfeif
Rank: 1
等 级:新手上路
帖 子:7
专家分:0
注 册:2006-10-19
收藏
得分:0 

阿飞
2006-10-31 08:02
lxfxiongfeif
Rank: 1
等 级:新手上路
帖 子:7
专家分:0
注 册:2006-10-19
收藏
得分:0 

谁知道makewelldone 的/???


阿飞
2006-10-31 08:04
unicorn
Rank: 4
等 级:贵宾
威 望:14
帖 子:1066
专家分:0
注 册:2005-10-25
收藏
得分:0 
这不是一个单独的c程序
是一个试验工程项目
要求有软件界面,可以输入用户名,新约定事件的处理,并连接数据库进行保存,查找,删除,插入,读取等操作...及时更新,检查冲突错误
涉及到在线通信 用到相关的TCP协议和接口的知识...
应该不是短期能出来的 先自己规划一个蓝图吧~

unicorn-h.spaces. ◇◆ sava-scratch.spaces.  noh enol ! pue pu!w hw u! shemle aq ll!m noh 
2006-10-31 09:46
快速回复:有偿请教:老师作业题C程序一道
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.012565 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved