C_COMMENT
Reformat C++ comments to C style


C_COMMENT is a FORTRAN90 program 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 computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

C_COMMENT is available in a FORTRAN90 version.

Related Data and Programs:

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

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

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

FILE_TRANSPOSE, a FORTRAN90 program 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++ program which converts C style comments to C++ style.

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

TABLE_COLUMNS, a FORTRAN90 program which will extract the data in certain columns of a file.

UNCONTROL, a C++ program which makes a copy of a text file which contains no control characters.

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

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

Source Code:

List of Routines:

You can go up one level to the FORTRAN90 source codes.


Last revised on 10 June 2013.