Does Pelles C support C++

Started by mixgh, January 11, 2013, 10:46:02 AM

Previous topic - Next topic

mixgh

Want to start learning C and this IDE looks great.  Just need to know whether it can handle C++ code or is it just a matter of changing the compiler?

issah

CommonTater

No.  Pelles C does not support C++ ... These are actually separate programming languages and while some C++ compilers maintain C compatibility, no C compiler does C++.

Changing the compiler in Pelles C is not a small task.  If you insist upon compiling C++ code, you're probably better off getting something like Code::Blocks or MS Visual Studio ....


Bitbeisser

Quote from: mixgh on January 11, 2013, 10:46:02 AM
Want to start learning C and this IDE looks great.  Just need to know whether it can handle C++ code or is it just a matter of changing the compiler?
No, as the name should already imply, it is an ANSI C (C11 in the latest version) development environment only and you can't just "change compiler", as that is kind of an integral part of the whole thing.
The IDE is not just some shiny eye candy to run some compiler in the background but also integrates quite nicely with the debugger for example, which makes it so much more difficult to use a different compiler (actually, totally different programming language!) underneath...

Ralf