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

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
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