Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

File Extensions .fi and .rc

Robert
Beginner
1,555 Views

In Microsoft Visual Studio, when one right clicks on Source Files and selects “ADD NEW ITEM”, .fi and .rc file extensions are two of the options. The descriptions say:

.fi   Fortran header file     

.rc   Fortran resource file

Can someone please explain what the intent is for these two file types?  Is the .fi extension to be used for include files? Such as when one uses the Fortran include statement:  Include ‘file_name.fi’

0 Kudos
4 Replies
Steven_L_Intel1
Employee
1,555 Views

.fi is intended for use for Fortran include files, but it's there only because Microsoft used it in its Fortran products back in the 1990s. You can use any file type you want in an INCLUDE, but I would recommend staying away from .f, .for or .f90 as Visual Studio will try to compile them separately. I happen to like to use .inc and some people use .h.

.rc is for the Resource Compiler and the Resource Editor creates this type. You don't typically create one on your own. This is where dialog boxes and the like get defined.

0 Kudos
Robert
Beginner
1,555 Views

Steve,

Thank you for the information. And thank you for the history of the .fi extension being first put out there by Microsoft in the '90s.  I remember the old Microsoft FORTRAN PowerStation. Was PowerStation the predecessor to Digital Visual FORTRAN?  

Regards,

Bob

0 Kudos
Steven_L_Intel1
Employee
1,555 Views

Sort of. Microsoft wanted to exit the Fortran business and worked with Digital to create a "successor product". Digital Visual Fortran was the Digital Fortran 90 compiler, not Microsoft's. The libraries did have some MS code (such as QuickWin). By the way, Fortran is spelled in mixed case - it has been that way since 1991.

0 Kudos
jimdempseyatthecove
Honored Contributor III
1,555 Views

>> Fortran is spelled in mixed case

Sad to see it is not ForTran (Formula Translator).

Jim Dempsey

0 Kudos
Reply