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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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