This repository contains several C++ examples. To compile the examples use the following commands:
$ mkdir build
$ cd build
$ cmake ../
$ make
The binaries are placed in the build
directory.
The programs are
example.cpp
-- a simple C++ exampleexample2.cpp
-- a C++ examples with functions and declarationstest.cpp
-- an example test case using doctestcomplex*
-- a class representing a complex numberlist.cpp
-- an implementation of a linked liststack.cpp
-- an implementation of a stack