files_multiple_test


files_multiple_test, a C++ program which calls files_multiple(), which demonstrates how a program can open multiple output files at one time, and write data to any one specific file it chooses.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

files_multiple, a C++ program which demonstrates how a program can open multiple output files at one time, and write data to any one specific file it chooses.

Source Code:

test01() counts from 0 to 100. Each divisor of 2 is written to "divisor1.txt", each divisor of 3 is written to "divisor2.txt" and so on.

test02() watches a vector X, of length 100, as it changes 20 times.


Last revised on 07 March 2020.