CSC 1100 Lecture Notes - Lecture 7: Decimal Mark, Whitespace Character, Include Directive

35 views8 pages

Document Summary

Learn what a stream is and examine input and output streams. Explore how to read data from the standard input device. Learn how to use predefined functions in a program. Explore how to use the input stream functions get, ignore, putback, and peek: objectives (cont"d. ) Learn how to write data to the standard output device. Discover how to use manipulators in a program to format output. Learn how to perform input and output operations with the string data type. Become familiar with file input and output. I/o: sequence of bytes (stream of bytes) from source to destination. Bytes are usually characters, unless program requires other types of information. Stream: sequence of characters from source to destination. Input stream: sequence of characters from an input device to the computer. Output stream: sequence of characters from the computer to an output device. Use iostream header file to receive data from keyboard and send output to the screen.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents