setf_ovr.cpp
来自「c c++最佳编程 1000 多个小技巧 源码」· C++ 代码 · 共 10 行
CPP
10 行
#include <iostream.h>
void main(void)
{
cout.setf(ios::showpos | ios::showpoint);
cout << 100 << endl;
cout.setf(ios::showpoint, ios::showpos | ios::showpoint);
cout << 100;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?