Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

Programming in C++

I wonder what are the best practices to program mongoose-os in C++.
Are we forced to use the main.c? My guess right now is that we can write our classes in C++ but then we need to "extern C" the functions to make them visible to our C main.
Is it possible to have the main file in C++? Are there other approaches?

Thank you for sharing!

Comments

Sign In or Register to comment.