Whenever I create a new .cpp/.h file in Xcode a comment is added to the top of the file. For example:
/* * .cpp * *
For AppCode users:
CMD + ,
Editor
File and Code Templates
Project
.idea/fileTemplates