[Coco] C language

wrcooke at wrcooke.net wrcooke at wrcooke.net
Thu Nov 14 18:26:42 EST 2019


   There's always the "bible."  K&R

   Here is a link to an online copy of the second (ANSI) edition.

   [1]https://archive.org/details/the_c_programming_language_2_201812

   If you need pre-ansi (K&R) then here is the first edition:

   [2]https://archive.org/details/TheCProgrammingLanguageFirstEdition

   Will

   On November 14, 2019 at 3:38 PM Salvador Garcia via Coco <
   [3]coco at maltedmedia.com> wrote:

   No, I haven't. Thanks for the tip. I'll have a look :-) Salvador

   On Thursday, November 14, 2019, 01:53:10 PM CST, Wayne Campbell <
   [4]asa.rand at gmail.com> wrote:

   Have you checked out the OS9 C manual? It may not be exactly the same,
   but

   it is based on K&R.

   Wayne

   On Thu, Nov 14, 2019, 10:23 AM Salvador Garcia via Coco <

   [5]coco at maltedmedia.com> wrote:

   I've done a fair amount of C programming in the past, but now that I
   would

   like to take it up again, I find myself struggling with a Hello World

   program and those @s and *s look more like parts of bad words. I've
   done

   some Arduino programming, but I find that many of my program statements

   look more like the following:

   pinMode(LED_BUILTIN, OUTPUT);

   and

   digitalWrite(LED_BUILTIN, HIGH);

   Not exactly hard core C<g>. I am looking for a good C programming
   lesson.

   I've searched for these and get some, but many are just Hello World

   tutorials and some take me to C++, java or even (gasp) C#. Sometime in
   the

   future I would like to get into CMOC for the CoCo, so I am looking for

   material that will get me up to speed on this language.

   For example, right now I would like to know how to parse a directory
   path.

   Looks like a job for char arrays and strings... but I no longer have a

   handle on these. Any recommendations for online material is greatly

   appreciated! I don't mind starting with simple stuff, but would like it
   to

   go beyond the basics of this language.

   Thanks all!! Salvador

   --

   Coco mailing list

   [6]Coco at maltedmedia.com

   [7]https://pairlist5.pair.net/mailman/listinfo/coco

   --

   Coco mailing list

   [8]Coco at maltedmedia.com

   [9]https://pairlist5.pair.net/mailman/listinfo/coco

   --

   Coco mailing list

   [10]Coco at maltedmedia.com

   [11]https://pairlist5.pair.net/mailman/listinfo/coco

   "A designer knows he has achieved perfection not when there is nothing
   left to add, but when there is nothing left to take away." --  Antoine
   de Saint-Exupery

   "The names of global variables should start with    // "
   -- https://isocpp.org

References

   1. https://archive.org/details/the_c_programming_language_2_201812
   2. https://archive.org/details/TheCProgrammingLanguageFirstEdition
   3. mailto:coco at maltedmedia.com
   4. mailto:asa.rand at gmail.com
   5. mailto:coco at maltedmedia.com
   6. mailto:Coco at maltedmedia.com
   7. https://pairlist5.pair.net/mailman/listinfo/coco
   8. mailto:Coco at maltedmedia.com
   9. https://pairlist5.pair.net/mailman/listinfo/coco
  10. mailto:Coco at maltedmedia.com
  11. https://pairlist5.pair.net/mailman/listinfo/coco


More information about the Coco mailing list