Search found 51 matches

by nvannote
Tue Nov 19, 2019 5:52 pm
Forum: General Discussion
Topic: C library linkage fail in C++
Replies: 7
Views: 2389

Re: C library linkage fail in C++

While I did not flash a device to do a test run (I am sure it will work fine); This works perfectly fine for me (both as C and as C++). #include <stdio.h> #include <tinyexpr.h> #ifdef __cplusplus extern "C" #endif void app_main() { printf("%f\n", te_interp("5*5", 0)); /* Prints 25. */ } I suspect wh...

Go to advanced search