What lines should I add to my _emacs (on Windows) file to have it open .h files in C++ mode? The default is C mode.
Apparently you can also put this at the top of the file:
// -*-c++-*-
to tell Emacs it's a C++ file.
I use this since I quite frequently end up on a vanilla Emacs and it works without configuring Emacs in any way.