ch12.4.02.c

来自「C++ Primer(第三版)的随书源代码」· C语言 代码 · 共 21 行

C
21
字号
#include <iterator>
#include <algorithm>
#include <iostream.h>
// #include <iostream>

/**
 **
 stanl@john:d.12 338 : xsh32 ch12.4.02.c
 stanl@john:d.12 339 : a.out
 0 1 1 2 3 5 8 
 0 1 1 2 3 5 8 stanl@john:d.12 340 : 
 **
 **/

int main()
{
	copy( istream_iterator< int >( cin ),
 		istream_iterator< int >(),
 		ostream_iterator< int >( cout, " " ));
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?