This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to convert RTX C program to C++ program

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.