Question
C++ dev questions
Posted on August 08, 2012 at 18:30
I have some PLC .cpp source/header files that I want to port over to my micro code that uses linked lists and what not. I noticed that main is a c file as is the rest of the stm320xx std periph drivers.
Can I use c++ src/inc files and call those functions from main.c? Do I have to make main.c into main.cpp? Is this just asking for trouble and i should implement an array/struct solution instead of using linked lists?