A Crash Course in C
Abstract
This appendix is designed for the novice in C. Beginning with installing a C compiler to allow the compilation and running of a first “Hello world!” program, this appendix starts with the basics and concludes with strategies for breaking complex projects into modular C files and header files. Instead of beginning with syntax, this appendix begins with three concepts that may be foreign to readers experienced in higher-level languages, but which are critical to C and embedded programming: data types; addresses and pointers; and compiling. With a firm grounding in these concepts, the appendix then proceeds through a series of programs demonstrating C syntax in the context of simple programs. Topics include ...
Get Embedded Computing and Mechatronics with the PIC32 Microcontroller now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.