C++语言基础 例程 C++的输入输出与流对象

来源:互联网 发布:收入影响因素数据图表 编辑:程序博客网 时间:2024/06/05 10:36

贺老师的教学链接  本课讲解


体会缓冲区
#include <iostream>using namespace std;int main(){    int n[5];    for(int i=0; i<5; i++)    {        cin>>n[i];        cout<<n[i]<<endl;    }    return 0;}


0 0