c++cubuntugcc

what are the .h~ files after gcc compilings/linkings?


After compiling/linking some .c .cpp and .h files, there are a couple of extra .h~ files show up. They seem to have the exact content of the original .h files, when I peek at them using cat. BTW, the OS is ubuntu


Solution

  • The are backup files produced by text editors, notably emacs and gedit, among others. See How do I control how emacs makes backup files? for tips on controlling that.