Skip to content

MikeMKH/understanding-and-using-c-pointers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

understanding-and-using-c-pointers

Unit test examples from "Understanding and Using C Pointers"

Prerequisites

Before setting up this project, ensure you have the following installed:

clang --version
cmake --version
brew --version

brew install cmake ninja criterion

Project Layout

pointers/
├── CMakeLists.txt
├── src/
│   └── chapter02/
│       ├── dynamic_alloc.c
│       └── dynamic_alloc.h
└── tests/
    └── chapter02/
        └── test_dynamic_alloc.c

Building and Running Tests

From the build folder, build the project and run the unit tests with verbose output:

ninja && ./test_dynamic_alloc --verbose

About

unit test examples from Understanding and Using C Pointers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors