View Single Post
Old 9th November 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

Quote:
Originally Posted by JMJ_coder View Post
I do think that if it is to be ultimately viable, it will probably eventually have to compile C++ code.
I personally see little reason why a C Compiler should be capable of compiling C++ code, unless the C++ code restricts itself to valid C code or it is specifically advertised as a 'C/C++ Compiler'. (I once made the inverse of that, before I said F' MSVC++ for C). Would you use gcc instead of g++ to compile Qt?


C and C++ are related languages, but they are different languages. If the same compiler did both, C++ would probably boat it like a truck horse at an all you can eat anyway.


Footnote: Whatever the opinions of some people as to it's meaning, to me the phrase "C/C++" only means "C and C++"
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote