Added pointer_examples.cpp