In this 1.5 hour project-based course, you will learn the basics of C structures and build a reusable circular buffer data structure. We will do this by upgrading an embedded program for a rocket display module. We will first use C structures to store incoming messages in a circular buffer to allow more new messages to be received. Then, we will add a new feature to purge older informational messages to save memory space. This project will help C programmers to master C structures and how to build reusable data structures. Both are essential C programming skills to become a successful C programmer. This course is aimed at learners who have already mastered these entry level C skills: variables, scalar data types (int, long, char), fixed size arrays, while loops, functions, pointers, and using external functions with header files.
What you'll learn
Build a circular buffer data structure in C
Use C structures to organize and store data
Implement memory management by purging old messages
Create reusable data structures for embedded systems
Course objectives
Master the fundamentals of C structures
Develop skills for building reusable data structures
Apply data structure concepts to embedded programming scenarios