README
Hey 馃憢, I'm The-R4V3N!
Connect with me
Glad to see you here
THESE ARE THE FILES FOR MY SECOND ASSIGNMENT OF THE C PROGRAMMING COURSE
THIS IS A CURCULAR BUFFER WRITTEN IN C.
THE REQUIRMENTS WHERE THE FOLLOWING.
Implement a single instance circular buffer according to the requirements below.
-
The buffer is an array of type int. -
Length of the array is a macro defined in the header file. -
The module shall have a clear function to clear the buffer. -
The module shall have a function to read data from the buffer. -
The module shall have a function to write data to the buffer. -
If the buffer is full, the oldest data shall be overwritten. -
The module shall have a function to return the number of data elements stored in the buffer. -
The module shall have a function to check if the buffer is full or not. -
Header file of the module shall be well-described using the doxygen format. -
The module shall be tested using assertion.
WANT TO KNOW MORE ABOUT ME? FOLLOW THE LINK