wrap2_test


wrap2_test, a C++ code which calls wrap2(), which reads a file and makes a copy in which long lines have been broken up. A line is "wrapped" if its length would exceed a given maximum. Unlike the WRAP program, this program will wrap the line before the maximum length is reached, if that will help avoid breaking up words.

Licensing:

The information on this web page is distributed under the MIT license.

Related Data and Programs:

wrap2 a C++ code which reads a file and makes a copy in which long lines have been broken up. A line is "wrapped" if its length would exceed a given maximum. Unlike the WRAP program, this program will wrap the line before the maximum length is reached, if that will help avoid breaking up words.

Source Code:


Last revised on 27 March 2007.