> -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Charles Mills > Sent: Friday, January 12, 2018 11:24 AM > To: [email protected] > Subject: Re: curious: Popularity & use of C on z/OS. > > C++ is technically not quite a proper superset of C. For example, C allows > implicit int > declarations and C++ does not. But admittedly, a quibble. C++ is for all > practical purposes a > superset of C.
Your assertion is correct but your example is wrong. C no longer allows implicit int. One C feature that is not allowed in C++ is the implicit conversion from "pointer to void" to "pointer to object", forcing C++ programmers to use more casts than C programmers (on average). ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
