mycapap.cpp