正在加载图片...
就温向客回 1.ios流库的结构 Istream和 ostream 2.流对象cin一般指键盘。 流对象cout一般指屏幕 3输入/输出格式控制的方 法: 使用ios的成员函数 使用操作函数 cingetline(buffer, SIZE) cout width(10) cout << setw(10)<<x cout<< setw(10)<< setfill(*)<<x1. ios 流库的结构: istream 和 ostream 2. 流对象cin一般指键盘。 流对象cout一般指屏幕。 3.输入/输出格式控制的方 法: 使用ios 的成员函数 使用操作函数 cin.getline(buffer, SIZE); cout.width(10); cout << setw(10) << x; cout << setw(10) << setfill('* ') << x;
向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有