[Coco] C language

Salvador Garcia salvadorgarciav at yahoo.com
Thu Nov 14 13:13:29 EST 2019


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



More information about the Coco mailing list