update .gitignore for C/C++ projects