Pelles C forum

C language => Beginner questions => Topic started by: mixgh on January 11, 2013, 10:46:02 AM

Title: Does Pelles C support C++
Post by: 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?

issah
Title: Re: Does Pelles C support C++
Post by: CommonTater on January 11, 2013, 11:01:10 AM
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 ....

Title: Re: Does Pelles C support C++
Post by: Bitbeisser on January 11, 2013, 07:37:44 PM
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