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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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