added c++ example driver program
added c++ example driver program: part 2