-
traffic
[基本要求]
(1)提供对城市信息进行编辑(如:添加功删除)的功能
(2)城市之间有两面种交通工具:火车和飞机。提供对列车时间表和飞机航班进行编辑(增设或删除)的功能。
(3)提供两面种最优决策:最快到达或最省钱到达。全程只考虑一种交通工具。
(4)旅途中耗费的总时间应该包括中转站的等候时间。
(5)咨询以用户和计算机的对话方式进行。由用户输入起始站、终点站、最优决策原则和交通工具,输出信息:最快需要多长时间才能到达或者最少需要多少旅费才能到达,并详细说明依次于何时坐哪一趟列车哪一次班机到何地。
[实现提示]
(1)对全国城市交通图和列车时刻表及飞机航班表的编辑,应该提供文件形式输入和键盘输入两种方式。飞机航班表的信息包括:起始站台票出发时间、终点站的到达时间和票价;列车时刻表则根据交通图给出各个路段的详细信息。
(2)以邻接表作交通图的存储结构,表示边的结点内除了含有邻接点的信息外,还应包括交通工具、路程中消耗的时间和花费以及出发和到达的时间等多项属性。
()
- 2008-07-07 00:17:13下载
- 积分:1
-
idlVC
IDL和VC混合编程实例,VC6.0调用IDL(IDL and VC mixed programming examples, called IDL VC6.0)
- 2007-05-08 16:45:15下载
- 积分:1
-
CPP-Primer(version-4)-answer
C++ primer 第四版课后答案,详细的给出了教材课后习题的答案(the book give the answer of C++ primer (version 4))
- 2011-10-07 22:08:19下载
- 积分:1
-
win32vcpp-config-20010409
bochs源代码()(Bochs source code ())
- 2004-10-06 12:08:00下载
- 积分:1
-
213213
VB制作二维码图像
VB制作二维码图像(Produce two-dimensional code)
- 2013-11-08 23:55:23下载
- 积分:1
-
NormSInv
Excel里NormSInv()函数的vb版(Excel Lane NormSInv () function vb version)
- 2009-02-12 10:10:06下载
- 积分:1
-
VCSerialPortProgram
串口调试程序,输入值或者数都行,可以调baudrate等参数。(serial port test program)
- 2009-06-04 12:29:45下载
- 积分:1
-
vbbarcodeprint
VB打印条形码的测试程序,不包括其它的功能,只是演示如何将条码打印出来,功能单一,不过容易理解,VB6.0打印条形码无思路的可参考。
(VB test program print bar codes do not include other functions, but demonstrates how to print out barcodes, single function, but it is easy to understand, VB6.0 print barcodes without thinking can be found.)
- 2014-05-14 16:02:11下载
- 积分:1
-
OS_projectC_Mutex
You are asked to design and implement a simulator for university life where lecturers provide lectures (credits) and students attend lectures (credits) to graduate. This simulator uses a bounded circular buffer shared by lecturers and students. Lecturers are concurrently providing lecturers and placing their lecturers in JCU (shared buffer) and students are concurrently taking lectures from JCU to graduate.
The purpose of this assignment is to give you some "hands-on" experience with concurrent processes, semaphores, and shared memory. You need to use the modules you practiced in week 6 and 8 labs (Prac 5 and Prac 6). You need semaphores for mutual exclusion and synchronization (studied in week 6 prac) and a shared buffer for shared memory IPC (studied in week 8 prac).
- 2009-10-31 16:09:02下载
- 积分:1
-
Dibcom_dib8090
it is the driver of dvb-t stb device on based by dib8090 chipset(it is very useful for stb designer)
- 2014-02-24 13:41:11下载
- 积分:1