An (extern) C wrapper code generator for C++ code. Allows you to wrap C++ code with an extern C interface to be used either by C code or as a dynamic library (by any code), including .def file generation.

Features

  • Classes and (public) methods\operators\constructors\destructors are being exported.
  • Exceptions are suppported.
  • Inheritance and Polymorphism are supported.
  • Operator and function overloading are being exported.
  • Template instantiations are being exported (i.e. you can export the code of vector<int>).
  • Reference variables are supported.
  • Static methods are supported.
  • Boolean variables are supported for non C99 compilers.

Project Activity

See All Activity >

Follow cpp2c

cpp2c Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of cpp2c!

Additional Project Details

Registered

2010-12-22