Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
Printing the last item of a structure twice
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="jameskuyper, post: 3911000"] I assume that you're just making a joke, but actually, it's been argued that this is precisely what the ISO's rules require. According to the person who argued this point (who knew a great deal more than I do about ISO rules), when C90 ceased to be the official standard, having been replaced by the approval of C99, all other references to the C standard in other standards are automatically considered to refer to the new standard - even if those references explicitly specify a particular, older, version of the C standard (as is the case with the reference to it in the C++ standard)! Personally, I doubt that this is a workable rule; but it might be what ISO's rules actually say. Other participants in the same discussion suggested that this rule may have been written at a time when ISO dealt primarily with hardware standards (such as standards for the shapes of screws) rather than software standards. I don't think that explanation works - I think it would be just as unworkable a rule for hardware standards. In my personal opinion, the fact that the C++ standard incorporates a specific version of the C standard library by reference means that C+ + implementations shouldn't have to be updated when the C standard is updated. The C++ standard does, however, say that "All standards are subject to revision, and parties to agreements based on this International Standard are encouraged to investigate the possibility of applying the most recent editions of the standards indicated below." (1.2p1) [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Printing the last item of a structure twice
Top