add c/c++ sample

Signed-off-by: Micky Ching <mickyching@gmail.com>