Minor changes

- Cleaning up .gitignore
- Not using :read as alternate file
Minor fixes to C/C++ snippets