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 |
How does c++ sort work?
What is else if syntax?
How to declaring variables in c++?
What is conversion constructor?
i have given a project to create examination seating plan system in c++. so can anyone send me the answer of this question quickly??????
Is c++ still in demand?
Why do we need pointers?
What is meant by the term name mangling in c++?
Define upcasting.
Do class declarations end with a semicolon? Do class method definitions?
Write a corrected statement in c++ so that the statement will work properly. if (x = y) x = 2*z;
Given the following function definition: int doit(int &x, int y, int &z) { x = 3*x; y = y + 5; z = x+y; return z - 4; } int a = 5, b = 7, c = 9, d = 11; d = doit(a,b,c);