We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi I have a Keil RTX C program which work correctly,Now i need to include a C++ library to it, but as you know C compilers are not able to compile C++ libraries(I used CLASS in my C++ library). Then is it possible,converting my C Main program to C++ ?(I changed main.c to main.cpp,then program compiled correctly and include cpp library too but program does not work) is there any other way ? WBR.
Yes, you can write your program in C++.
But "program does not work" isn't much information to help you get it to work.
Remember that a C++ program can make symbols accessible to C code by using the "C" attribute to select C naming convention and linkage.