1833462 Members
2963 Online
110052 Solutions
New Discussion

Re: C vs C++ compilers

 
SOLVED
Go to solution
Steve Boniwell
Frequent Advisor

C vs C++ compilers

Can someone please clear my confusion.

1 Is aCC a C++ compiler rather than C?

2 What Product Code gets the C++ compiler

3 What comes in the C Development Bundle?

My distributor seems to be confused and I don't seem to have an up to date config guide.

TIA
One man's magic..............
3 REPLIES 3
Adam J Markiewicz
Trusted Contributor

Re: C vs C++ compilers

1. Yes, aCC is C++ compiler
2. I didn't get the sense of the question.
3. like 2. But if you have any doubts: you are not forced to use C++ extensions. You can write C code and aCC will comple it (but I'm affraid without K&R arguments syntax). By the way - there will be some slight technical differences in the generated binnary, but you won't feel it.

Good luck

Adam
I do everything perfectly, except from my mistakes
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: C vs C++ compilers

aCC (B3913DB License / B3920EA Media) is both a C++ and ANSI C compiler BUT it does not speak K & R C. If you need to compile/link C++, ANSI C, and K & R C you will need to also purchase the C/ANSI C Bundle (B3901BA License). The ANSI/C compilers speaks ANSI C and K & R BUT not C++.

The developer's bundle includes the compiler and manuals, the DDE and XDB debuggers, and the HP/PAK analyzer.

I prefer to use these compilers over the Gnu versions.
If it ain't broke, I can fix that.
Steve Boniwell
Frequent Advisor

Re: C vs C++ compilers

last response adequate and no new responses for ages
One man's magic..............