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" -or -name "*.cpp"
(edited to protect the asterisks which were interpreted as formatting)