Re: [PIC] Learning C
David C Brown <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.pic |
|---|---|
| Message-ID | <CAFo_nNoGpZjck_T+9Fo718uhPRoWHLRhSd5Qq6SJeRUc3kFeAA@mail.gmail.com> |
Ans 404 to you :-) Onew of the problems I have with trying to understand code examples in C is that so many of them are incomprehensibly dense. What would be five or six lines in Pascal or Basic is a single line in C. I appreciate that that is down to the programmer not the language but it is off putting i have to remind my self of the old adage: You can write Pascal in any language __________________________________________ David C Brown 43 Bings Road Whaley Bridge High Peak Phone: 01663 733236 Derbyshire eMail: [email protected] SK23 7ND web: www.bings-knowle.co.uk/dcb <http://www.jb.man.ac.uk/~dcb> *Sent from my etch-a-sketch* On Thu, 14 Nov 2024 at 04:01, madscientistatlarge < [email protected]> wrote: > > > > > "...trying to make digital files uncopyable is like trying to make water > not wet." > Bruce Schneier > > > Sent with Proton Mail secure email. > > On Wednesday, November 13th, 2024 at 8:18 PM, Spehro Pefhany < > [email protected]> wrote: > > > At 02:14 PM 2024-11-13, you wrote: > > > > > Do any of the books have syntax diagrams? Similar to what all the > > > pascal books had? I found those very, very useful when I was in > > > high school back in caveman days. > > > > > > Here you go, syntax of C in Backus-Naur form (BNF- now that brings > > back memories of Uni). > > > > The link says it was adapted from K&R 2nd edition's appendix. > > > > https://cs.wmich.edu/~gupta/teaching/cs4850/sumII06/The syntax of C in > Backus-Naur form.htm > > Excellent, exactly what I was looking for. Thanks! I knew there had to > be a name but right now I'd probably stumble a bit trying to write in > pascal. > > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > https://mailman.mit.edu/mailman/listinfo/piclist >