I am having fun with first time working with C++. I am converting a long owned telescope controller project where the software grew a lot of awkward tendrils over the years, so rewriting the code into a number of clean interacting objects feels quite liberating.
What is the best C++ approach for useful small utilities that don't really belong to some nice major system object like Telescope. Things that several big objects might use? For example I have some functions which know how to best parse latitudes out of peculiarly encoded strings.
Right now I landed it in a TextUtilities object, but I thought it felt ridiculous instantiating this object to use a generically useful method.
That's not how its done right? Where do best you locate functions like that in C++?