Post Reply 
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.

- John

Actually C89/C90 "the original ANSI C" is the last ANSI C standard made by ANSI Smile. 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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP Prime or HP 50g - Voldemar - 03-18-2014, 08:53 PM
RE: HP Prime or HP 50g - DrD - 03-18-2014, 09:18 PM
RE: HP Prime or HP 50g - Voldemar - 03-18-2014, 09:41 PM
RE: HP Prime or HP 50g - Tugdual - 03-18-2014, 10:43 PM
RE: HP Prime or HP 50g - jebem - 03-28-2014, 03:24 PM
RE: HP Prime or HP 50g - Chris Pem10 - 03-19-2014, 02:12 AM
RE: HP Prime or HP 50g - eried - 03-19-2014, 04:34 AM
RE: HP Prime or HP 50g - Kevin Ouellet - 03-20-2014, 04:09 AM
RE: HP Prime or HP 50g - Angus - 03-19-2014, 06:21 AM
RE: HP Prime or HP 50g - DrD - 03-19-2014, 09:58 AM
RE: HP Prime or HP 50g - Marcelo Vanti - 11-29-2018, 08:42 PM
RE: HP Prime or HP 50g - edryer - 11-30-2018, 01:45 PM
RE: HP Prime or HP 50g - CyberAngel - 12-01-2018, 12:48 PM
RE: HP Prime or HP 50g - Tim Wessman - 03-19-2014, 02:26 PM
RE: HP Prime or HP 50g - Tugdual - 03-19-2014, 10:18 PM
RE: HP Prime or HP 50g - parisse - 03-20-2014, 07:40 AM
RE: HP Prime or HP 50g - Ron Ross - 03-19-2014, 08:18 PM
RE: HP Prime or HP 50g - Tim Wessman - 03-19-2014, 10:56 PM
RE: HP Prime or HP 50g - Manolo Sobrino - 03-20-2014, 08:27 PM
RE: HP Prime or HP 50g - eried - 03-20-2014, 09:01 PM
RE: HP Prime or HP 50g - Manolo Sobrino - 03-20-2014, 10:02 PM
RE: HP Prime or HP 50g - parisse - 03-21-2014, 07:18 AM
RE: HP Prime or HP 50g - John R. Graham - 03-21-2014, 11:17 AM
RE: HP Prime or HP 50g - Manolo Sobrino - 03-21-2014 12:23 PM
RE: HP Prime or HP 50g - Voldemar - 03-20-2014, 09:39 PM
RE: HP Prime or HP 50g - Tim Wessman - 03-20-2014, 10:28 PM
RE: HP Prime or HP 50g - Voldemar - 03-20-2014, 10:51 PM
RE: HP Prime or HP 50g - eried - 03-20-2014, 11:13 PM
RE: HP Prime or HP 50g - John R. Graham - 03-20-2014, 11:16 PM
RE: HP Prime or HP 50g - Angus - 03-21-2014, 10:35 AM
RE: HP Prime or HP 50g - Voldemar - 03-21-2014, 11:39 AM
RE: HP Prime or HP 50g - John R. Graham - 03-23-2014, 02:03 AM
RE: HP Prime or HP 50g - HP67 - 03-24-2014, 07:56 AM
RE: HP Prime or HP 50g - Joe Horn - 03-24-2014, 03:51 PM
RE: HP Prime or HP 50g - parisse - 03-21-2014, 03:14 PM
RE: HP Prime or HP 50g - Arcturus314 - 03-21-2014, 05:49 PM
RE: HP Prime or HP 50g - Voldemar - 03-23-2014, 07:19 PM
RE: HP Prime or HP 50g - Arcturus314 - 03-23-2014, 11:57 PM
RE: HP Prime or HP 50g - Kevin Ouellet - 03-22-2014, 09:22 PM
RE: HP Prime or HP 50g - Arcturus314 - 03-22-2014, 11:29 PM
RE: HP Prime or HP 50g - Arcturus314 - 03-24-2014, 12:03 AM
RE: HP Prime or HP 50g - John Colvin - 03-24-2014, 12:26 AM
RE: HP Prime or HP 50g - Arcturus314 - 03-24-2014, 01:07 AM
RE: HP Prime or HP 50g - John Colvin - 03-24-2014, 11:48 PM
RE: HP Prime or HP 50g - HP67 - 03-24-2014, 03:56 PM
RE: HP Prime or HP 50g - Joe Horn - 03-25-2014, 05:10 AM
RE: HP Prime or HP 50g - HP67 - 03-25-2014, 04:06 PM
RE: HP Prime or HP 50g - Joe Horn - 03-28-2014, 09:59 AM
RE: HP Prime or HP 50g - Han - 03-25-2014, 04:52 PM
RE: HP Prime or HP 50g - Joe Horn - 03-28-2014, 09:48 AM
RE: HP Prime or HP 50g - Arcturus314 - 03-25-2014, 01:58 AM
RE: HP Prime or HP 50g - HP67 - 03-25-2014, 04:57 PM
RE: HP Prime or HP 50g - Han - 03-25-2014, 05:45 PM
RE: HP Prime or HP 50g - HP67 - 03-26-2014, 08:00 AM
RE: HP Prime or HP 50g - HP67 - 03-28-2014, 12:56 PM
RE: HP Prime or HP 50g - Frozen North - 04-02-2014, 05:45 AM
RE: HP Prime or HP 50g - Angus - 04-02-2014, 07:09 AM
RE: HP Prime or HP 50g - dbbotkin - 10-06-2014, 07:11 PM
RE: HP Prime or HP 50g - mlpalacios8 - 10-07-2014, 03:22 AM
RE: HP Prime or HP 50g - Craig Thomas - 10-07-2014, 07:23 PM
RE: HP Prime or HP 50g - Tim Wessman - 10-07-2014, 07:45 PM
RE: HP Prime or HP 50g - cutterjohn - 10-07-2014, 11:07 PM
RE: HP Prime or HP 50g - Craig Thomas - 10-08-2014, 01:51 AM
RE: HP Prime or HP 50g - cutterjohn - 10-08-2014, 03:17 AM
RE: HP Prime or HP 50g - ColinJDenman - 10-08-2014, 04:05 PM
RE: HP Prime or HP 50g - Han - 10-08-2014, 04:33 PM
RE: HP Prime or HP 50g - Craig Thomas - 10-08-2014, 06:21 PM
RE: HP Prime or HP 50g - dbbotkin - 10-08-2014, 07:53 PM
RE: HP Prime or HP 50g - Steve Simpkin - 10-09-2014, 03:43 AM
RE: HP Prime or HP 50g - Chris Pem10 - 10-09-2014, 05:19 AM
RE: HP Prime or HP 50g - DrD - 10-09-2014, 11:28 AM
RE: HP Prime or HP 50g - dbbotkin - 10-09-2014, 02:21 PM
RE: HP Prime or HP 50g - Chris Pem10 - 10-09-2014, 02:47 PM
RE: HP Prime or HP 50g - RyanB - 01-25-2015, 05:35 PM
RE: HP Prime or HP 50g - Michael - 01-28-2015, 01:15 PM
RE: HP Prime or HP 50g - Claudio L. - 01-28-2015, 01:38 PM
RE: HP Prime or HP 50g - Thomas Radtke - 01-30-2015, 08:07 AM
RE: HP Prime or HP 50g - Claudio L. - 01-30-2015, 01:37 PM
RE: HP Prime or HP 50g - Thomas Radtke - 07-10-2018, 04:47 PM
RE: HP Prime or HP 50g - Neve - 07-10-2018, 05:09 PM
RE: HP Prime or HP 50g - Claudio L. - 07-10-2018, 05:16 PM
RE: HP Prime or HP 50g - RyanB - 11-26-2015, 08:50 PM
RE: HP Prime or HP 50g - Hlib - 11-26-2015, 09:10 PM
RE: HP Prime or HP 50g - Neve - 09-17-2017, 05:13 AM
RE: HP Prime or HP 50g - pier4r - 09-17-2017, 06:31 AM
RE: HP Prime or HP 50g - Arno K - 09-17-2017, 08:53 AM
RE: HP Prime or HP 50g - Neve - 09-17-2017, 09:24 AM
RE: HP Prime or HP 50g - pier4r - 09-17-2017, 10:02 AM
RE: HP Prime or HP 50g - Neve - 09-17-2017, 10:33 AM
RE: HP Prime or HP 50g - BigEvilBarry - 03-22-2018, 02:54 PM
RE: HP Prime or HP 50g - zeno333 - 03-23-2018, 11:15 PM
RE: HP Prime or HP 50g - MagicMachine2 - 03-31-2018, 10:39 AM
RE: HP Prime or HP 50g - grsbanks - 04-07-2018, 06:56 AM
RE: HP Prime or HP 50g - JDW - 07-10-2018, 02:12 PM
RE: HP Prime or HP 50g - JDW - 07-10-2018, 09:24 PM
RE: HP Prime or HP 50g - Neve - 07-10-2018, 09:55 PM
RE: HP Prime or HP 50g - JDW - 07-11-2018, 12:17 AM
RE: HP Prime or HP 50g - Joe Horn - 07-11-2018, 01:42 AM
RE: HP Prime or HP 50g - JDW - 07-11-2018, 11:55 PM
RE: HP Prime or HP 50g - Tim Wessman - 07-12-2018, 03:08 AM
RE: HP Prime or HP 50g - Claudio L. - 07-11-2018, 03:00 AM
RE: HP Prime or HP 50g - JDW - 07-11-2018, 03:04 AM
RE: HP Prime or HP 50g - Claudio L. - 07-11-2018, 06:28 PM
RE: HP Prime or HP 50g - Neve - 07-11-2018, 09:30 AM
RE: HP Prime or HP 50g - JDW - 07-11-2018, 05:05 AM
RE: HP Prime or HP 50g - Tim Wessman - 07-11-2018, 05:09 AM
RE: HP Prime or HP 50g - JDW - 07-13-2018, 12:39 AM
RE: HP Prime or HP 50g - Neve - 07-13-2018, 12:36 PM
RE: HP Prime or HP 50g - Claudio L. - 07-13-2018, 01:16 PM
RE: HP Prime or HP 50g - Neve - 07-13-2018, 02:02 PM
RE: HP Prime or HP 50g - Claudio L. - 07-13-2018, 02:20 PM
RE: HP Prime or HP 50g - Neve - 07-13-2018, 02:36 PM
RE: HP Prime or HP 50g - JDW - 07-13-2018, 01:33 PM
RE: HP Prime or HP 50g - Thomas Radtke - 07-11-2018, 06:03 AM
RE: HP Prime or HP 50g - JDW - 07-11-2018, 06:07 AM
RE: HP Prime or HP 50g - Voldemar - 07-11-2018, 10:33 AM
RE: HP Prime or HP 50g - Joe Horn - 07-11-2018, 12:15 PM
RE: HP Prime or HP 50g - Voldemar - 07-11-2018, 12:41 PM
RE: HP Prime or HP 50g - JDW - 07-12-2018, 06:47 AM
RE: HP Prime or HP 50g - Neve - 07-12-2018, 12:43 PM
RE: HP Prime or HP 50g - Thomas Radtke - 07-12-2018, 09:59 AM
RE: HP Prime or HP 50g - chromos - 07-12-2018, 11:59 AM
RE: HP Prime or HP 50g - JSBach - 07-12-2018, 01:07 PM
RE: HP Prime or HP 50g - Neve - 07-12-2018, 01:52 PM
RE: HP Prime or HP 50g - JDW - 07-12-2018, 02:34 PM
RE: HP Prime or HP 50g - grsbanks - 07-12-2018, 02:40 PM
RE: HP Prime or HP 50g - Tim Wessman - 07-12-2018, 02:46 PM
RE: HP Prime or HP 50g - Neve - 07-12-2018, 02:49 PM
RE: HP Prime or HP 50g - Claudio L. - 07-12-2018, 04:19 PM
RE: HP Prime or HP 50g - Neve - 07-12-2018, 04:33 PM
RE: HP Prime or HP 50g - Thomas Radtke - 07-13-2018, 05:37 AM
RE: HP Prime or HP 50g - JDW - 07-17-2018, 12:15 AM
RE: HP Prime or HP 50g - BERNARD MICHAUD - 07-25-2018, 01:36 AM
RE: HP Prime or HP 50g - JDW - 08-10-2018, 03:25 AM
RE: HP Prime or HP 50g - BERNARD MICHAUD - 07-16-2018, 02:56 PM
RE: HP Prime or HP 50g - Komanguy - 07-22-2018, 12:23 PM
RE: HP Prime or HP 50g - John Keith - 07-23-2018, 01:03 PM
RE: HP Prime or HP 50g - JDW - 07-23-2018, 01:52 PM
RE: HP Prime or HP 50g - Komanguy - 07-23-2018, 03:05 PM
RE: HP Prime or HP 50g - Claudio L. - 07-23-2018, 02:23 PM
RE: HP Prime or HP 50g - JDW - 07-23-2018, 02:36 PM
RE: HP Prime or HP 50g - Anders - 07-23-2018, 02:57 PM
RE: HP Prime or HP 50g - Claudio L. - 07-23-2018, 08:24 PM
RE: HP Prime or HP 50g - DavidM - 07-23-2018, 08:39 PM
RE: HP Prime or HP 50g - StephenG1CMZ - 07-23-2018, 04:19 PM
RE: HP Prime or HP 50g - edryer - 11-29-2018, 03:02 PM
RE: HP Prime or HP 50g - edryer - 12-01-2018, 01:32 PM
RE: HP Prime or HP 50g - Ciro Bruno - 01-16-2019, 12:41 AM
RE: HP Prime or HP 50g - informach - 01-16-2019, 01:38 AM
RE: HP Prime or HP 50g - Ciro Bruno - 01-16-2019, 01:50 PM
RE: HP Prime or HP 50g - JDW - 01-17-2019, 12:22 AM
RE: HP Prime or HP 50g - Ciro Bruno - 01-17-2019, 01:04 AM
RE: HP Prime or HP 50g - informach - 01-17-2019, 01:24 AM



User(s) browsing this thread: 1 Guest(s)