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

nel_h2
Secure User Management, Made Simple | Frontegg Icon
Secure User Management, Made Simple | Frontegg

Get 7,500 MAUs, 50 tenants, and 5 SSOs free – integrated into your app with just a few lines of code.

Frontegg powers modern businesses with a user management platform that’s fast to deploy and built to scale. Embed SSO, multi-tenancy, and a customer-facing admin portal using robust SDKs and APIs – no complex setup required. Designed for the Product-Led Growth era, it simplifies setup, secures your users, and frees your team to innovate. From startups to enterprises, Frontegg delivers enterprise-grade tools at zero cost to start. Kick off today.
Start for 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