- 9
- 0
- 约1.88万字
- 约 103页
- 2017-06-14 发布于北京
- 举报
3.4.2Manipulators(流操纵符) Manipulator endl was used to modify input and output data streams. The mainpulator endl was used in previous programs to skip to the start of a new line on the screen. (流操纵符用于对输入和输出数据流进行修改。如endl它的作用是将光标移到一个新行的起始位置。) A manipulator can appear anywhere in a series of insertion or extraction opperations.(流操纵符可以出现在一个连续的流插入和流提取运算符中的任何位置。如下:) cout endl endl endl can be used anywhere endl; Manipulators(流操纵符) setw is used to set the width of a data field.用于设置数据域的宽度,指的是数据项在屏幕上所点的列数。 int num1=123; coutsetw(4)num1; setfill is used to change the “pad
您可能关注的文档
最近下载
- 贵州省2025年7月普通高中学业水平合格性考试生物试题(含解析).pdf VIP
- 住宅项目异型吊篮安装拆除专项施工方案(专家论证版).docx
- 2025年9月河北省普通高中学业水平合格性考试数学试卷(含答案).pdf VIP
- 国际货物运输与保险全书ppt完整版课件整本书电子教案最全教学教程.pptx VIP
- 2026年全国社会工作师职业资格考试社会工作综合能力(初级)电子讲义.pdf
- 色谱分析(气相)PPT课件.pptx VIP
- 《AutoCAD 2024中文版电气设计基础与实例教程》教学大纲.docx
- 平法识图与钢筋算量 1、课程介绍 《平法识图与钢筋计量》整体设计.doc VIP
- 学记原文.doc VIP
- (正式版)DB50∕T 1915-2025 《电动重型货车大功率充电站建设技术规范》.pdf VIP
原创力文档

文档评论(0)