Silverfrost Forums

Welcome to our forums

Fortran from Visual Studio

10 Mar 2013 9:59 #11701

I've got Visual Studio 2008 installed.

I want to run FORTRAN from Visual Studio.Is it possible?

Actually, my ultimate task is to call soem FORTRAN routines (which are already coded) from a C++ function.

I want to access both C++ and FORTRAN from Visual Studio.

Can anyone help? I know this is a FORTRAN forum.So, can I ask if its posisble to access FORTRAN through VS 2008?If yrs, how shall I go about it?

Christy

11 Mar 2013 6:53 #11703

If you download FTN95 from Silverfrost, when you install it you will be given the option to also install the FTN95 plug-in for Visual Studio. You will then be able to compile Fortran programs etc from Visual Studio.

When it comes to mixing Fortran with C, you should try using the Silverfrost C compiler first since this is designed to be completely compatible with FTN95.

11 Mar 2013 8:58 #11707

Thanks a lot for the reply.

What about C++?

Can we call FOTRAN From C++ and vice versa using silverfrost C compiler?

11 Mar 2013 9:28 #11708

Yes C++ is included but you won't get all of the current C++ standard in SCC.

11 Mar 2013 10:29 #11710

Thanks again...but I did not get when you say:

you won't get all of the current C++ standard in SCC.

can you please elaborate?

11 Mar 2013 11:57 #11711

As a rough guide, SCC handles template functions but not 'namespace'. If you look at the history of C++ development, this will give you an idea of when development of SCC stopped.

Please login to reply.