Loading 0 Votes - +

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:

Share & Socialize

What is OmniNerd?

Omninerd_icon Welcome! OmniNerd's content is generated by nerds like you. Learn more.

Voting Booth

Dzhokar Tsarnaev deserves due process?

35 votes, 4 comments