c++ source #1

c++ source #2

cmake source #3

c++ source #4