c++ – Where to put utility functions

c++ – Where to put utility functions

There is no reason to create a class if you dont need one (especially not just a class for a few unrelated functions). I would choose your first option, and declare the function prototypes as they are in util.h.

c++ – Where to put utility functions

Leave a Reply

Your email address will not be published.