This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C vs. C++ (or C#)

Using CCS DSK V2.21 and coding for the 2407A processor.

I know there are some differences in coding between C code and C++ code. like the #pragma directive ans such.

Does the compiler simply accept either method in a source file automaticly, or do I have to tell it which kind of source it is?

I have been using only C coding so far (source files end in .c) but ran across something that mentioned c++ files have a .cc extention.

What do I have to do to use c++ code?

What are the advantages to using c++?