Unit 3 C++

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

You can use the ____ function to restore an input stream to a working state.

clear

A ____ is an area in secondary storage used to hold information.

file

To read a string containing blanks, you can use the function ____.

getline

The fstream header file contains the definitions of two data types: _____ and ofstream.

ifstream

A(n) ____ is a sequence of characters from an input device to the computer.

input device

The result of attempting to read invalid data is ____.

input failure

Dot notation is used to separate a(n) ____ from its member, or function, name.

input stream variable name

To use a parameterized stream manipulator in a C++ program, you must include the header file ____

iomanip

Variables of type ____ are called input stream variables.

istream

To left-justify output in C++, use the ____ manipulator.

left

In C++, the dot is an operator called the ____.

member access operator

Another name for function arguments is function ____.

parameters

Which of the following is not an input stream function?

place

In C++, the default output of floating-point numbers is ____ notation.

scientific

The manipulator ____ is used to output floating-point numbers in scientific format.

scientific

The output stream variables can use the manipulator ____ to fill the unused columns with a character other than a space.

setfill

The ____ manipulator controls the output of only the next expression.

setw

To force floating-point output to show the decimal point and trailing zeros, use the ____ manipulator.

showpoint

I/O functions are typically called ____ member functions.

stream

The extraction operator takes ____ operands.

two


Kaugnay na mga set ng pag-aaral

10.3 Actions of the Autonomic Nervous System

View Set

1IC/12-13. Complete Grammar Bank. 1st International Commerce. Liceo Español Luis Buñuel

View Set

Laws of Agency: Real Estate Exam

View Set

ENC 1102 Lecture Presentation and Knowledge Check : MLA basics

View Set

Psychosociologie clinique: approche historico-culturelle

View Set

HUNTERcourse Minnesota Chapter 9: Hunting Techniques

View Set

Communication & Defense Mechanisms quiz

View Set

Chapter 20: The Regulation of Gene Expression

View Set