c_comment


c_comment, a Fortran90 code which reads an ASCII text file, and writes a copy, in which C++ style comments have been replaced by equivalent C-style comments.

Usage:

c_comment input_file output_file
where

Licensing:

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

Languages:

c_comment is available in a Fortran90 version.

Related Data and codes:

c_comment_test

crrm, a C++ code which reads a text file and writes a copy which has no carriage returns.

deblank, a C++ code which reads a text file and writes a copy which has no blank lines.

decomment, a C++ code which makes a copy of a text file which contains no "comment" lines (that begin with "#").

file_transpose, a FORTRAN90 code which makes a "transposed" copy of a file, in which the I-th "word" of the J-th line becomes the J-th word of the I-th line.

filum, a FORTRAN90 library which performs various operations on files.

recomment, a C++ code which converts C style comments to C++ style.

reword, a C++ code which reads a text file and writes a copy which has a fixed number of "words" per line.

table_columns, a FORTRAN90 code which will extract the data in certain columns of a file.

uncontrol, a C++ code which makes a copy of a text file which contains no control characters.

wrap, a C++ code which makes a copy of a text file in which no line is longer than a user-specified wrap length.

wrap2, a C++ code which wraps long lines in a text file, but which wraps some lines "early", so as to avoid breaking words.

Source Code:


Last revised on 26 April 2024.