Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1.01 KB

README.md

File metadata and controls

29 lines (17 loc) · 1.01 KB

c2cpp - A cross platform tool for converting C to C++ code

Overview

c2cpp is a command-line utility designed to convert C source code files to most C++ standards. It performs syntax replacements, removes redundant auto keywords, and changes more things to convert your C code to C++ code ! C2cpp ensures compatibility with C++ while retaining most of the original structure and logic of the C code.

Features

  • Converts C code to C++ standards.
  • Replaces specific C++ keywords and reserved words with prefixed versions.
  • Maintains the original C file and creates a new C++ file.
  • Provides help and version information via command-line flags.

Installation

  1. Download github release for your system:

    On this page click the releases tab

    Unzip the archive

  2. Add the folder to path

    copy the path of the folder to your systems PATH environment variable

c2cpp supports linux and windows (macos support tmr)

If you have any questions, go to the issues tab.