forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Fortran from Visual Studio

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
christyleomin



Joined: 08 Apr 2011
Posts: 155

PostPosted: Sun Mar 10, 2013 10:59 pm    Post subject: Fortran from Visual Studio Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7923
Location: Salford, UK

PostPosted: Mon Mar 11, 2013 7:53 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
christyleomin



Joined: 08 Apr 2011
Posts: 155

PostPosted: Mon Mar 11, 2013 9:58 am    Post subject: Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7923
Location: Salford, UK

PostPosted: Mon Mar 11, 2013 10:28 am    Post subject: Reply with quote

Yes C++ is included but you won't get all of the current C++ standard in SCC.
Back to top
View user's profile Send private message AIM Address
christyleomin



Joined: 08 Apr 2011
Posts: 155

PostPosted: Mon Mar 11, 2013 11:29 am    Post subject: Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7923
Location: Salford, UK

PostPosted: Mon Mar 11, 2013 12:57 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group