The languages have just enough in common to propagate the myth the C is a
proper subset of C++.  There are valid C constructs that will not compile
under C++ rules.  One example (with the usual prototype in scope) is
     int *ptr = malloc(1024);

:>: -----Original Message-----
:>: From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
:>: Behalf Of Barkow, Eileen
:>: Sent: Tuesday, September 18, 2012 10:21 AM
:>: To: IBM-MAIN@LISTSERV.UA.EDU
:>: Subject: Re: Strings
:>:
:>: From what I have read , C++  contains all of C, so that the C and C++
:>: code can be intermixed if using the C++ compiler.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to