files_multiple_test


files_multiple_test, a C++ code 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 information on this web page is distributed under the MIT license.

Languages:

files_multiple_test is available in a C version and a C++ version and a Fortran77 version and a Fortran90 version and a MATLAB version and an Octave version.

Related Data and Programs:

files_multiple, a C++ code 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.