How to implement flags?
Answers were Sorted based on User's Feedback
Answer / subeetha
C++ defines some format flags for standard input and
output, which can be manipulated with the flags(), setf(),
and unsetf() functions. For example,
cout.setf(ios::left);
Is This Answer Correct ? | 1 Yes | 0 No |
Write a recursive program to calculate factorial in c++.
What is the difference between struct and class?
What is the difference between method and message?
What is const in c++?
How can I learn c++ easily?
What is the difference between std::vector and std::list
Differentiate between C and C++.
How do you find out if a linked-list has an end?
What are the differences between public, private, and protected access?
12 Answers IBM, Oracle, Wipro,
What is c++ hash?
Explain how a pointer to function can be declared in C++?
What are default parameters? How are they evaluated in c++ function?