HP Prime or HP 50g
|
03-21-2014, 12:23 PM
(This post was last modified: 03-21-2014 12:50 PM by Manolo Sobrino.)
Post: #30
|
|||
|
|||
RE: HP Prime or HP 50g
(03-21-2014 11:17 AM)John R. Graham Wrote: That turns out not to be the case. The ANSI/ISO C standard has had three major revisions since 1989. Nevertheless, the point was, I think, that teaching a language that you would encounter elsewhere (i.e., off calculator) would be a good idea. I happen to agree. However, Tim has previously explained that the implementation size of many traditional languages put them out of reach for the Prime. Actually C89/C90 "the original ANSI C" is the last ANSI C standard made by ANSI . The new standards come from ISO, C99 from ISO was adopted by ANSI (C95 was just an ISO extension) and then ISO replaced C99 with C11. More than revisions all these are extensions. Any code written in C89/90 will be fine for a C11 compiler but for small details, the most spectacular being not allowing implicit int return type (you shouldn't do it anyway). You're safe learning the basic stuff first. It's not like FORTRAN 77 vs 90, now that was a revision! (edit) The programming language in the Prime looks nice to me (for its purpose). I don't understand very well the type declaration of local variables, though. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 14 Guest(s)