登录
首页 » Visual C++ » traffic

traffic

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

  • C8051F060-DAC
    这个程序输出正弦和余弦波形 使用DAC硬这C8051F060单片机DAC0波形输出 和DAC1  Timer4中断更新的输出DAC.Timer4 ISR的  然后导致了DACs计算的输出,这是下一个中断。 输出波形的频率设定的# define <频率>。  实现定义的精确输出频率<频率>,一个  /使用外部晶体。(This program outputs sine and cosine waveforms using the hardware DACs // on the C8051F06x microcontroller. The waveforms are output on pins DAC0 // and DAC1. // // The output of the DAC is updated upon a Timer4 interrupt. The Timer4 ISR // then calculates the output of the DACs for the next interrupt. // // The frequency of the output waveforms is set by the#define <FREQUENCY>. // To achieve the exact output frequency defined by <FREQUENCY>, an // external crystal should be used.)
    2014-07-03 19:05:12下载
    积分:1
  • MultiThreading
    说明:  FGMultiThreading,halcon多线程实现图像抓取,图像处理 运行环境:vs2013,c++,MFC, 主要针对图像读取,二维码识别,多线程处理(FGMultiThreading, Halcon multi-threaded image capture, image processing Operating environment: vs2013, c++, MFC, Mainly for image reading, two-dimensional code recognition, multi-threading processing)
    2020-06-19 21:40:02下载
    积分:1
  • tubiaotuodong
    说明:  一个用vc编写的创建拖放时使用的图标源代码,可用鼠标进行图标的的拖动。(Vc prepared with the creation of a drag and drop the icon to use the source code, available dragging the mouse icon.)
    2010-04-23 10:46:25下载
    积分:1
  • testZeroMQ
    内含简单项目代码及ZeroMQ使用教程,资源适合初学者,可以满足快速入门要求 下载ZeroMQ 下载网址:http://zeromq.org/intro:get-the-software 点击“Windows sources”下载zeromq-4.0.3.zip文件 编译ZeroMQ库文件 解压zeromq-4.0.3.zip文件,进入buildsmsvc目录,用VS打开*.sln工程文件,编译生成解决方案。编译完成后,会在lib目录下生成dll和lib文件 编写简单的测试工程 1.用VS新建2个项目,一个是server端,一个是client端 2.将ZeroMQ源码项目的include目录下的两个文件“zmq.h”,“zmq_utils.h”拷贝至自己新建的工程 3.将ZeroMQ源码项目的lib目录下的两个文件“libzmq.dll”,“libzmq.lib”拷贝至自己新建的工程 4.将文件“zmq.h”,“zmq_utils.h”和“libzmq.lib”添加进自己新建的项目。(ZeroMQ simple project containing the code and tutorials, resources for beginners, to meet the requirements of the Quick Start Download ZeroMQ Download URL: http://zeromq.org/intro:get-the-software Click " Windows sources" download zeromq-4.0. 3.zip ZeroMQ library files compiled zeromq-4.0.3.zip unzip the file, enter builds msvc directory, with VS open*. sln project file, the compiler generates solutions. After the compilation is complete, it will generate dll and lib files in the lib directory to write a simple test project. Using VS New two projects, one is server-side, is a client-side two would both include directories ZeroMQ source project under File " zmq.h" , " zmq_utils.h" copy to their new project 3 would be two files ZeroMQ source project lib directory under " libzmq.dll" , " libzmq.lib" copy to their new project 4 would file " zmq.h" , " zmq_utils.h" and " libzmq.lib" added to their new projects.)
    2014-02-19 08:43:26下载
    积分:1
  • 17501500
    用VC写的界面编程,可实现用图形纹理的设计,()
    2018-02-24 23:36:04下载
    积分:1
  • GIS
    说明:  这就是陈建春的《用Visual C++开发GIS系统》的配套代码。 用来给初学者熟悉VC++图形编程很不错,我当初学MFC的时候就是照着这本书上手的。但作为一个GIS系统来说缺少一些必要的 要素,比如大数据量的管理、空间索引、符号化、投影等等等等等。以现在的眼光看来整个系统的架构设计也不是太好。 这本书再版后改名为《矢量图形系统开发与编程》,内容变化不大("using Visual C development of GIS systems" supporting code. For beginners to the VC familiar with graphical programming quite well, and I had the time to learn MFC is shining on this book in the business. But as a GIS systems lack the necessary elements, such as the large amount of data management, spatial indexing, symbols, such as projectors, etc.. Now the point of view of the entire system architecture design is not too good. This book reprinted later renamed as "vector graphics systems development and programming", little change)
    2006-03-07 12:45:39下载
    积分:1
  • router1
    模拟路由器功能,简单的c++程序代码,可以实现。(Simulation router function a simple c++ code, can be achieved.)
    2021-03-27 22:29:12下载
    积分:1
  • shibiao
    水表数字识别主要对指针式水表进行数字识别(shui biao shu zi shibie)
    2016-10-17 15:59:23下载
    积分:1
  • AutoDemo
    E-Form++可视化源码组件库示例代码,做监控界面用.(E-Form++ Source Codes, for HMI Screen Design and Viewer with VC++ Source Codes)
    2018-05-12 19:39:34下载
    积分:1
  • 烟花
    c语言实现的模拟烟花,上传源代码,可以用来告白(To realize the pattern of fireworks)
    2017-12-25 18:55:12下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载