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 |
In a class only declaration of the function is there but defintion is not there then what is that function?
Can we use clrscr in c++?
Is it possible for the objects to read and write themselves?
Write a program to concatenate two strings.
Is c++ platform dependent?
What is the difference between C and CPP?
What is c++ manipulator?
Write a note about the virtual member function?
What is function declaration in c++ with example?
Is c++ double?
How do you flush a buffer in c++?
What are the difference between reference variables and pointers in C++?