数据结构英文课件:ch03 Queues.ppt

DEMONSTRATION AND TESTING void help( ) /* Post: A help screen for the program is printed, giving the meaning of each command that the user may enter. */ { cout endl This program allows the user to enter one command endl (but only one) on each input line. endl For example, if the command S is entered, then endl the program will serve the front of the queue. endl endl The valid commands are: endl A - Append the next input character to the extended queue endl DEMONSTRATION AND TESTING S - Serve the front of the extended queue endl R - Retrieve and print the front entry. endl #

文档评论(0)

1亿VIP精品文档

相关文档