Whenever I want to commit, I always commit the object file created by C++ to the github server. This cannot be simply specified by the .gitignore file, a better way is to specify this in the pre-commit file
Defining a constant in C++ to be visible in several source files. There are several ways of doing that, but you could make mistakes if not careful enough.
In the analysis of algorithms, the master theorem for divide-and-conquer recurrences provides an asymptotic analysis for many recurrence relations that occur in the analysis of divide-and-conquer algorithms.