NO

Author Topic: Does Pelles C support C++  (Read 5130 times)

mixgh

  • Guest
Does Pelles C support C++
« 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

CommonTater

  • Guest
Re: Does Pelles C support C++
« Reply #1 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 ....


Offline Bitbeisser

  • Global Moderator
  • Member
  • *****
  • Posts: 772
Re: Does Pelles C support C++
« Reply #2 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