add pointer.cpp