Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 483 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 483 Bytes

my-lib

Build

cd lib
mkdir build
cmake ..
make

This builds everything.

Under lib/examples there are some examples

  • c_example.c: Example C program that consumes library calls.

  • cpp_example.cpp: Example C++ program that consumes library calls.

  • consumer.cpp: Example C++ program from https://caiorss.github.io/C-Cpp-Notes/passing-lambda.html.

  • cpp_callback.cpp: Example C++ program showcasing calling C++ Lambdas and classic functions as callbacks.