Log in

View Full Version : Can you help us?? (programming question)


HuskieRobotics
25-02-2004, 18:05
We would like to know if you can use C++ or does it have to be in C???

Random Dude
25-02-2004, 18:11
We would like to know if you can use C++ or does it have to be in C???

Nope, the MPLAB compiler is for C, not C++.

Greg
25-02-2004, 18:19
This would not make a huge difference. C and C++ would be identical for what you are doing. I doubt that you will need classes, inheritance, polymorphism, etc. which are C++ object-oriented features. For procedure-based programming it is the same thing :)

If by "C++" you mean something like MS Visual C++, then the answer is also no :) You need the MPLAB compiler to convert your C code to the PIC instructions.