Fortran-like Fixed-width Fields with C++
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:
- Removal of Objects From HD Video, by VnutZ 2 months ago
- Stormy Weather Affects Cloud Computing, by VnutZ 9 months ago
- Cybersecurity Hires by Obama Administration, by VnutZ almost 2 years ago
- Symantec & Deciphering Stuxnet, by VnutZ almost 2 years ago


Add a Comment
Email This
Statistics
Print Friendly
Write an Article