An object-oriented library for scientific computing in C++ useful for solving, minimizing, differentiating, integrating, interpolating, optimizing, approximating, analyzing, fitting, and more. Many classes operate on generic function and vector types. Includes classes based on GSL and CERNLIB. O2scl can be used on Linux, Mac and Windows (Cygwin) platforms, has extensive documentation, and has been under active development for over five years.