LOL. All I know is that sometimes due to a coding error I get the error message "error C4430: missing type specifier - int assumed. Note: C++ does not support default-int"
I jumped to the natural conclusion. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of retired mainframer Sent: Friday, January 12, 2018 4:40 PM To: [email protected] Subject: Re: curious: Popularity & use of C on z/OS. > -----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 > 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
