Mega Code Archive

 
Categories / C++ / Console
 

Displays the value 100 with the showpos and showpoint flags turned on

#include <iostream> using namespace std; int main() {   cout.setf(ios::showpoint);   cout.setf(ios::showpos);   cout << 100.0;   return 0; }