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 function that swaps the values of two integers, using int* as the argument type?
What is an object in c++?
how to connect with oracle 9i with server in socket program in c/c++
What is operators in c++?
What does the ios::ate argument do?
Write a C++ Program to Generate Random Numbers between 0 and 100
Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work
Why do we use using namespace std in c++?
what is the C++
Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)
Why the usage of pointers in C++ is not recommended ?
What is the function to call to turn an ascii string into a long?