c++_primer_exercise_1033

来源:互联网 发布:mysql删除全部表 编辑:程序博客网 时间:2024/06/05 16:22
Write a program that takes the names of an input file and two output files. The input file should hold integers. Using an istream_iterator read the input file. Using ostream_iterator, write the odd numbers into the first output file. Each value should be followed by a space. Write the even numbers into the second ifle. Each of these values should be placed on a separate line.
0 0
原创粉丝点击