jagomart
digital resources
picture1_Fortran Pdf 187502 | Paper 10


 120x       Filetype PDF       File size 0.17 MB       Source: www-uxsup.csx.cam.ac.uk


File: Fortran Pdf 187502 | Paper 10
introduction to modern fortran i o and files nick maclaren computing service nmm1 cam ac uk ext 34761 november2007 introduction to modern fortran p 1 i o generally most descriptions ...

icon picture PDF Filetype PDF | Posted on 02 Feb 2023 | 2 years ago
Partial capture of text on file.
                 Introduction to Modern Fortran
                                      I/O and Files
                                       Nick Maclaren
                                    Computing Service
                         nmm1@cam.ac.uk,ext.34761
                                     November2007
                                                                       Introduction to Modern Fortran – p. 1/??
                                   I/O Generally
          Most descriptions of I/O are only half--truths
          Those work most of the time – until they blow up
          Most modern language standards are like that
          Fortran is rather better, but there are downsides
          Complexity and restrictions being two of them
          • Fortran is much easier to use than it seems
          • This is about what you can rely on in practice
          Wewill start with the basic principles
                                                                       Introduction to Modern Fortran – p. 2/??
                             Some‘Recent’ History
           Fortran I/O (1950s) predates even mainframes
           OPENandfilenameswasaCC†ofc.1975
           Unix/C spread through CS depts 1975–1985
           ISOCsI/OmodelwasaCC†of1985–1988
                     ’
           Modernlanguages use the C/POSIX I/O model
           EvenMicrosoft systems are like Unix here
           • TheI/Omodelshavelittle in common
           † CC = committee compromise
                                                                                  Introduction to Modern Fortran – p. 3/??
                              Important Warning
          It is often better than C/C++ and often worse
          But it is very different at all levels
          • It is critical not to think in C--like terms
          Trivial C/C++ tasks may be infeasible in Fortran
          Asalways, use the simplest code that works
          Fewpeoplehavemuchtroubleif they do that
          • Askfor help with any problems here
                                                                       Introduction to Modern Fortran – p. 4/??
The words contained in this file might help you see if this file matches what you are looking for:

...Introduction to modern fortran i o and files nick maclaren computing service nmm cam ac uk ext november p generally most descriptions of are only half truths those work the time until they blow up language standards like that is rather better but there downsides complexity restrictions being two them much easier use than it seems this about what you can rely on in practice wewill start with basic principles some recent history s predates even mainframes openandlenameswasacc ofc unix c spread through cs depts isocsi omodelwasacc modernlanguages posix model evenmicrosoft systems here thei omodelshavelittle common cc committee compromise important warning often worse very different at all levels critical not think terms trivial tasks may be infeasible asalways simplest code works fewpeoplehavemuchtroubleif do askfor help any problems...

no reviews yet
Please Login to review.