Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - c1.h
Search - c1.h - List
DL : 0
本书主要由实现基本操作和算法的程序构成。这些程序文件有6 类: (1) 数据存储结构。文件名第一个字母为c,以h 为扩展名。如c1-1.h 是第1 章的第 1 种存储结构。 (2) 每种存储结构的一组基本操作函数。以bo(bo 表示基本操作)开头,cpp 为扩展 名。如bo2-4.cpp 是第2 章第4 种存储结构的一组基本操作函数。教科书中涉及基本操作 的算法也收到基本操作函数中且在函数中注明算法的编号。 (3) 调用基本操作的主程序。以main(main 表示主程序)开头,cpp 为扩展名。如 main3-5.cpp 是调用bo3-5.cpp 的主程序。 (4) 实现算法的程序。以algo(algo 表示算法)开头,cpp 为扩展名。如algo6-2.cpp 是 实现算法6.13 的程序。 (5) 不属于基本操作又被多次调用的函数。以func 开头,cpp 为扩展名。如 func2-3.cpp 中的函数equal()、comp()、print()等被许多程序调用。为节约篇幅,将这些 函数放到func2-3.cpp 中。 (6) 数据文件。以txt 为扩展名。如第4 章的bookinfo.txt 等。 只有以main、algo 开头的程序文件有主函数main(),而且是可执行的程序。其它程 序都是被调用的程序,通过#include 命令包括在可执行程序中。它们可能被多次调用。为 了节省篇幅,只出现在书中第1 次调用前。-The book is mainly composed of algorithms for basic operations and procedures. These files have six categories: (1) data storage structure. The first letter of the file name is c, with h extension. As c1-1.h is the first type storage structure Chapter 1. (2) each of a set of basic storage structure manipulation functions. In bo (bo shows a basic operation) at the beginning, cpp extension. Chapter 2 as bo2-4.cpp fourth storage structure a set of basic operating functions. Basic arithmetic operations involving textbooks also received basic operations and functions in the function algorithm specified number. (3) calls the basic operation of the main program. In main (main represent main) beginning, cpp extension. As main3-5.cpp calling bo3-5.cpp main program. (4) algorithm implementation procedures. In algo (algo represented algorithm) at the beginning, cpp extension. As algo6-2.cpp algorithm is 6.13 program. (5) does not belong to the function has been repeatedly invoked the basic operat
Date : 2025-12-19 Size : 2.67mb User : Cynric
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.