A word, like 'class' can have different meaning \ nuances depending on the context of how it is used.
I would like to understand how to constrain a Google search on a keyword so that it returns results in a constrained context. What I mean by this is that if search on the word classes, I would like to only see the results associated with C programming. I do not want results associated with educational classes or groups of people.
Other examples of constrained contexts could include LINUX, Ubuntu, OSX, Windows 10, Python, etc.
Google enables users to constrain a search within a website using the syntax:
site:fooo.com classes -education
In the example of above Google will search the website fooo.com for the word classes and strike results with the term education
What is the syntax to search Google with the constrained context as defined above?
Bonus points if there is a better (standard) term for 'constrained context'