Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > C program is standard C++ program?

Reply
Thread Tools

C program is standard C++ program?

 
 
Dave Thompson
Guest
Posts: n/a
 
      10-30-2005
On Mon, 24 Oct 2005 09:08:40 +1000, Simon Biber <(E-Mail Removed)>
wrote:
<snip: using __cplusplus to conditionalize extern "C">
> This has no effect on a C compiler, which by convention does not define
> the __cplusplus macro, but signals to a C++ compiler that the
> identifiers declared within are to be linked with a C object file.


<nit size=microscopic> No longer just convention. C99 6.10.8p5
specifies that a conforming C does not define __cplusplus . </>

- David.Thompson1 at worldnet.att.net
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
standard libraries don't behave like standard 'libraries' Sriram Srinivasan Python 13 11-12-2009 06:05 PM
What are the standard network functions provided in standard C? disappearedng@gmail.com C Programming 5 06-10-2008 08:57 PM
add pexpect to the standard library, standard "install" mechanism. funkyj Python 5 01-20-2006 08:35 PM
C program is standard C++ program? strutsng@gmail.com C Programming 50 10-30-2005 10:28 PM
How standard is the standard library? steve.leach Python 1 04-18-2005 04:07 PM



Advertisments