Skip to content

tralamazza/circular_buffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Circular buffer

Prerequisites

  1. Complete this README.md by documenting how to build and run.
  2. Use any build tool (e.g. make).
  3. The code should compile cleanly, no errors/warnings.
  4. Static memory only, no malloc()/new.
  5. Open a pull request with your changes.
  6. Use C++

Coding task

  1. Write a circular buffer class with the following features:
    1. Compile time fixed size
    2. Static memory allocation only
    3. Generic data type (e.g. uint8_t)
    4. Two put(data) overflow behaviors: overwrite and discard data.
  2. Write tests showing your circular buffer in action.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published