Computer Science - Object Oriented Programming Using C++ - Discussion
Discussion Forum : Object Oriented Programming Using C++ - Section 1 (Q.No. 9)
9.
A function that changes the state of the cout object is called a(n) _____
Discussion:
9 comments Page 1 of 1.
Arun said:
1 decade ago
Manipulators are functions specifically designed to be used in conjunction with the insertion (<<) and extraction (>>) operators on stream objects, for example:
cout << boolalpha;
cout << boolalpha;
(1)
Surya said:
7 years ago
endl is a manipulator;
(1)
RKant said:
3 years ago
You are right @Arun.
Manipulators are functions specifically designed to be used in conjunction with the insertion (<<) and extraction (>>) operators on stream objects.
setw is a manipulator function.
cout<<setw<<number;.
Manipulators are functions specifically designed to be used in conjunction with the insertion (<<) and extraction (>>) operators on stream objects.
setw is a manipulator function.
cout<<setw<<number;.
(1)
Vinay said:
1 decade ago
What is manipulator?
Evangelin said:
1 decade ago
Thank You, its useful for me.
Suhasini said:
1 decade ago
Manipulator is function. Right? then it should end with pair of round brackets.
Pavi said:
1 decade ago
No not need of round brackets just we want shift operator.
Srish said:
10 years ago
What are they meaning in "the state " of cout object?
Sooraj said:
8 years ago
What is manipulator?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers