Add Demo program in c++