摘要
本文介绍了在C++语言中构造布尔类数据的方法和有关的函数,使布尔类数据同char等类型数据分离开来,赋予布尔类数据更明确的表达形式,该类数据与char、int类型数据相容,可用于程序控制语句和布尔表达式,便于FORTRAH和PASCAL语言的程序移植到C++语言。
It is that the method of Constructing Boolean class data and relatiye functions are introduced in this paper. Let the Boolean class data be separated from char or nit type data. The Boolean class data ndowed with the clearer form or the expression. The Boolebn, cha and nit type date are compatible and used in the controling sentence and the Boolean expressions in a Program. It make transplante convenietly the program including the hoolean data type of FORTRAN or PASCAL language into C+ + language.