Skip to content
/ c2cpp Public

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

License

Notifications You must be signed in to change notification settings

Ranne314/c2cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.