View previous topic :: View next topic |
Author |
Message |
christyleomin
Joined: 08 Apr 2011 Posts: 155
|
Posted: Sun Mar 10, 2013 10:59 pm Post subject: Fortran from Visual Studio |
|
|
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 |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7923 Location: Salford, UK
|
Posted: Mon Mar 11, 2013 7:53 am Post subject: |
|
|
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. |
|
Back to top |
|
|
christyleomin
Joined: 08 Apr 2011 Posts: 155
|
Posted: Mon Mar 11, 2013 9:58 am Post subject: |
|
|
Thanks a lot for the reply.
What about C++?
Can we call FOTRAN From C++ and vice versa using silverfrost C compiler? |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7923 Location: Salford, UK
|
Posted: Mon Mar 11, 2013 10:28 am Post subject: |
|
|
Yes C++ is included but you won't get all of the current C++ standard in SCC. |
|
Back to top |
|
|
christyleomin
Joined: 08 Apr 2011 Posts: 155
|
Posted: Mon Mar 11, 2013 11:29 am Post subject: |
|
|
Thanks again...but I did not get when you say:
Quote: | you won't get all of the current C++ standard in SCC. |
can you please elaborate? |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7923 Location: Salford, UK
|
Posted: Mon Mar 11, 2013 12:57 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
|