CSC 1100 Lecture Notes - Lecture 6: Data Type
Document Summary
A program is composed of one or more functions which are composed of one or statements. A variable has these characteristics: name, data type, value, scope. The language of computer includes 0s and 1s. Sequences of binary or character code: a stream goes in one of two directions. Used to communicate with input and output devices: common input (cin) Object variable of type istream and is used to connect to the screen: common output (cout) Object variable of type ostream and is used to connect to the screen: to connect to the iostream library, syntax. #include