add sample cpp files