No, you should not put everything into classes . Whoever told you that was wrong. C++ is not (just) an OO language, it is a multi-paradigm language. Additionally, putting everything into classes does not mean that code is object oriented (especially since for static methods you don’t need actual objects, just types).