---
name: "ccmtcnvt"
section: "1"
platform: "linux"
package: "liwc"
version: "1.21-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ccmtcnvt"
---

# ccmtcnvt(1)

convert C++ comments to C comments

## NAME

ccmtcnvt - convert C++ comments to C comments

## SYNOPSIS

ccmtcnvt \[-hv\] \[--help\] \[--version\] \[file ...\]

## DESCRIPTION

This program converts the C++ style comments into traditional C style comments. C++ allows comments of that begin with \`//' and end with the next newline, but they weren't introduced to the C language until the 1999 version of the C standard. Some C compilers alre3ady accept these, but for those who don't, you can use this utility to convert them.

## BUGS

ccmtcnvt assumes that the input is syntactically correct C code (except for the comments).

## AUTHOR

Lars Wirzenius, liw@iki.fi.
