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 |
Comment on assignment operator in c++.
Describe functional overloading?
How can a struct in c++ differs from a struct in c?
Is c++ fully object oriented?
what is smart pointer & use of the smart pointer ???
What is setbase c++?
Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).
How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
Copy Linked List using recursive function?
what is C++ exceptional handling?
Why should we use null or zero in a program?
What is flag in computer?