adspace
Answer Posted / Rajesh Kumar Singh
Yes, you can get the value of ios format flags using the manipulator 'ios::fmtflags'. You can save the current format flags with 'std::ios_base::fmtflags saved = std::cout.flags();', and restore it later with 'std::cout.flags(saved);'.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers