cpp programs and data structures