登录
首页 » Visual C++ » traffic

traffic

于 2008-07-07 发布 文件大小:30KB
0 311
下载积分: 1 下载次数: 103

代码说明:

  [基本要求] (1)提供对城市信息进行编辑(如:添加功删除)的功能 (2)城市之间有两面种交通工具:火车和飞机。提供对列车时间表和飞机航班进行编辑(增设或删除)的功能。 (3)提供两面种最优决策:最快到达或最省钱到达。全程只考虑一种交通工具。 (4)旅途中耗费的总时间应该包括中转站的等候时间。 (5)咨询以用户和计算机的对话方式进行。由用户输入起始站、终点站、最优决策原则和交通工具,输出信息:最快需要多长时间才能到达或者最少需要多少旅费才能到达,并详细说明依次于何时坐哪一趟列车哪一次班机到何地。 [实现提示] (1)对全国城市交通图和列车时刻表及飞机航班表的编辑,应该提供文件形式输入和键盘输入两种方式。飞机航班表的信息包括:起始站台票出发时间、终点站的到达时间和票价;列车时刻表则根据交通图给出各个路段的详细信息。 (2)以邻接表作交通图的存储结构,表示边的结点内除了含有邻接点的信息外,还应包括交通工具、路程中消耗的时间和花费以及出发和到达的时间等多项属性。 ()

文件列表:

源文件
......\head.txt
......\显示交通系统.c
......\源文件.txt
......\用户咨询
......\........\被咨询调用.c
......\........\被咨询调用的调用
......\........\................\时间树操作.c
......\........\................\最少旅行中转次数.c
......\........\................\最少旅行时间.c
......\........\................\最少旅行时间和相应路径.c
......\........\................\最少旅行费用.c
......\........\................\最少旅行费用和相应路径.c
......\........\................\队列操作.c
......\用户咨询.c
......\登录界面.c
......\系统管理
......\........\列车编辑
......\........\........\删除列车车次.c
......\........\........\增加列车车次.c
......\........\列车车次编辑.c
......\........\初始化系统.c
......\........\城市编辑
......\........\........\保存城市交通系统到相应的文档.c
......\........\........\删除城市.c
......\........\........\增加城市.c
......\........\城市编辑.c
......\........\系统初始化
......\........\..........\列车车次.c
......\........\..........\创建城市文件.c
......\........\..........\构造图.c
......\........\..........\被构造图调用.c
......\........\..........\飞机航班.c
......\........\航班编辑
......\........\........\删除航班.c
......\........\........\增加航班.c
......\........\飞机航班编辑.c
......\系统管理.c

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • BMPopenandsave
    该程序为BMP图像处理,能够打开和存储任何一幅图像格式为BMP,特别适合初学者,仅供参考!(The program for BMP image processing, to open and store any image format for BMP, especially suitable for beginners, for reference purposes only!)
    2017-05-14 10:20:10下载
    积分:1
  • the-easiest-serialport
    最简单的串口收发程序,全部用VC++实现,对初学VC串口通信的朋友有很大帮助,提供全部源代码,提供串口类的.CPP和.H文件。(The simplest procedure serial transceivers, all with VC++ implementation of serial communication beginner VC friend of great help, providing all the source code, to provide serial port class. CPP and. H files.)
    2011-07-11 00:11:53下载
    积分:1
  • iprout-hash
    一种基于hash表的IP路由表搜索技术,在WINDOWS下VC++实现(a hash table based on the IP routing table search technology, under the VC WINDOWS)
    2007-01-04 14:13:20下载
    积分:1
  • mp3
    The first task at hand is to set up the endpoints appropriately for this example. The following code switches the CPU clock speed to 48 MHz (since at power-on default it is 12 MHz), and sets up EP2 as a Bulk OUT endpoint, 4x buffered of size 512, and EP6 as a Bulk IN endpoint, also 4x buffered of size 512. This set-up utilizes the maximum allotted 4-KB FIFO space. It also sets up the FIFOs for manual mode, word-wide operation, and goes through a FIFO reset and arming sequence to ensure that they are ready for data operations(The first task at hand is to set up the endpoints appropriately for this example. The following code switches the CPU clock speedto 48 MHz (since at power-on default it is 12 MHz), and sets up EP2 as a Bulk OUT endpoint, 4x buffered of size 512, and EP6as a Bulk IN endpoint, also 4x buffered of size 512. This set-up utilizes the maximum allotted 4-KB FIFO space. It also sets upthe FIFOs for manual mode, word-wide operation, and goes through a FIFO reset and arming sequence to ensure that they areready for data operations)
    2007-12-26 19:22:07下载
    积分:1
  • ProcessMonitor
    1、实时监控各个exe所做的行为;2、实时监控exe的启动和退出;3、该代码为微软的SysinternalsSuite中的Process Monitor v1.0版本源码;4、工程项目已转化为vs2010(1, real-time monitoring of individual behavior made ​ ​ exe 2, real-time monitoring exe startup and exit 3, the code for Microsoft s SysinternalsSuite the Process Monitor v1.0 version of the source code 4, the project has been converted to vs2010)
    2013-12-23 18:34:50下载
    积分:1
  • TestScrollTest
    一个简单的SDI工程,里边实现在对话框上添加滚动条,并相应滚动条事件。运行时,请在file菜单下点击两次新建操作,弹出对话框,然后缩放对话框,减小到一定大小就会出现滚动条就能看到滚动条效果。(A simple SDI project, inside the realization of the dialog box to add a scroll bar, and the corresponding scroll bar event. Run, please click on the file menu under the new operation, pop-up dialog box, and then zoom dialog box, reduced to a certain size will appear rolling bar will be able to see the scroll bar effect.)
    2017-03-15 10:06:02下载
    积分:1
  • DIBAPI
    说明:  对图片的处理很好的源代码,对图片的处理很好的源代码,对图片的处理很好的源代码,对图片的处理很好的源代码,对图片的处理很好的源代码(very important for the picture!very important for the picture!very important for the picture!very important for the picture!very important for the picture!)
    2009-08-29 16:22:32下载
    积分:1
  • ffmpeg-2.0.1
    ffmpeg VC开发库,可以直接配置开发环境进行编译,调试。ffmpeg是个通用解码库。 (ffmpeg VC development libraries)
    2020-12-18 16:49:11下载
    积分:1
  • FlyMonitor-(2)
    一个飞行模拟器的界面模块,可以显示生成的各种数据,不带采集功能(A flight simulator interface module, you can display various data generated, without the acquisition function)
    2013-04-17 16:01:17下载
    积分:1
  • MAppStart
    MIL Application Start
    2011-05-25 15:16:24下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载