登录
首页 » Visual C++ » traffic

traffic

于 2008-07-07 发布 文件大小:30KB
0 269
下载积分: 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 个回复

  • Modbus Tools (1)
    说明:  串口调试,串口设备模拟,支持32/64位系统。(Serial debugging, serial device simulation)
    2020-06-20 08:00:01下载
    积分:1
  • StatusTime
    在状态栏上实时显示当前时间,VC++精选编程学习源码,很好的参考资料。(Real time display in the status bar to the current time, VC++ select learning programming source code, a good reference.)
    2013-12-02 12:47:37下载
    积分:1
  • Ch13Directories
    Windows Directory sample code, taken from worx visual c++ 2008
    2012-04-12 17:19:27下载
    积分:1
  • ViewPicture
    VC++下开发的浏览图像文件程序,只要双击可执行文件,就能运行程序,若提示没有所指定的数据库,可以自己指定数据库。(development of the VC View images documentation procedures, as long as you double-click the executable, we will be able to run the program, If no prompt specified by the database, the database can be assigned themselves.)
    2007-04-27 22:48:29下载
    积分:1
  • CAMSHIFT
    采用 CAMSHIFT 算法快速跟踪和检测运动目标的 C/C++ 源代码,OPENCV BETA 4.0 版本在其 SAMPLE 中给出了这个例子。 该运行文件在VC6.0环境下编译通过,是一个 stand-alone 运行程序,不需要OPENCV的DLL库支持。在运行之前,请先连接好USB接口的摄像头。然后可以用鼠标选定欲跟踪目标。已经调通了。(CAMSHIFT algorithm using rapid detection and tracking moving targets C/C++ source code, OPENCV BETA 4.0 version in its SAMPLE given this example. Document in the running VC6.0 environment compiler, is a stand-alone operating procedures, no OPENCV DLL library support. Before the operation, please connect the USB interface of the camera. You can then use the mouse selectedwiththemousewishestotrackthetarge. Has been transferred through.)
    2013-07-14 22:25:08下载
    积分:1
  • qianqianjingt
    MP3播放器,能够实现mp3的播放控制等一些列播放器性质(MP3 player, mp3 playback control can be achieved and some properties of the column player)
    2011-09-21 10:17:26下载
    积分:1
  • Visual C++网络高级
    说明:  本书对Visual C++各种编程技术和TCP/IP进行系统介绍的基础上,重点讲解网络编程的高级应用、使用技巧和难点。(On the basis of a systematic introduction to various programming techniques of Visual C + + and TCP / IP, this book focuses on the advanced applications, skills and difficulties of network programming.)
    2021-03-19 22:31:59下载
    积分:1
  • wincedriver
    学习WINCE驱动开发的入门书籍 很不错的(Learning WINCE entry driven development is very good books)
    2009-01-16 14:48:42下载
    积分:1
  • 5956444spwm20170327
    说明:  脉宽调制,亲自调试通过,是一个很好学习的资料(Pulse width modulation, self-testing, is a very good learning material.)
    2020-06-17 04:40:01下载
    积分:1
  • taskmgr
    任务管理器源代码,界面模仿windows下自己的任务管理器,需要的同学可以看看(Task Manager source code)
    2009-06-02 19:49:46下载
    积分:1
  • 696516资源总数
  • 106457会员总数
  • 15今日下载