Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: C++
Expertise: Beginner
Oct 12, 1999

Do Unix C++ compilers transform C++ code to C?

Question:
If I write C++ code in UNIX, does my code convert to C and compile?

Answer:
Not necessarily. The first C++ compiler, cfront, was actually a C++ to C code translator. The resultant C code would then be compiled and linked. However, the latest version of cfront was released nearly a decade ago, so it'a very far behind the Standards. Today, most modern C++ compilers on UNIX produce native assembly code directly.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap