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 . -regex ".*\.[cChH]\(pp\)?" -print
This tested fine for me in cygwin.