As the tech world constantly blazes forward with new innovations, sometimes it is necessary to teach a new dog old tricks. In this article, wyldeling does just that as he shows the reader how to take a modern language like C++ and make it act a little more like Fortran, which remains in common use within the physics community.
From the article, "despite the power and ease of use of the streams library in C++, it is difficult to read-in fixed width fields without modifying the streams’ behavior, unlike in Fortran." Follow along as wyldeling tackles this problem and provides the necessary code to make C++ a little friendlier for Fortran aficionados.
Similarly tagged OmniNerd content: