I know that to find all the .h files I need to use:
.h
find . -name \"*.h\"
but how to find all the .h AND .cpp
.cpp
find . -name \*.h -print -o -name \*.cpp -print
or
find . \( -name \*.h -o -name \*.cpp \) -print