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 |
what do you mean by volatile variable?
Can comments be longer than one line?
How does c++ sort work?
What is math h in c++?
What is an object in c++?
What are the methods of exporting a function from a dll?
What does iomanip mean in c++?
When there is a global variable and local variable with the same name, how will you access the global variable?
What is abstraction in c++ with example?
What are raw sockets, where they are efficient?
What is size of null class?
Differentiate between structure and class in c++.