replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - FORTRAN dialogs / C++
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 dialogs / C++

 
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 May 05, 2013 4:15 pm    Post subject: FORTRAN dialogs / C++ Reply with quote

Hi,

I will give you a short description regarding my University project and shall be grateful if you can provide me soem tips

1) I have got an existing FORTRAN Code
2) The existign FORTRAN Code creates some dialogs and consequently the data is retrived from these dialogs and the core numerical sub routines called and necessary calculations done.
3) So far so good.

Now,

4) We are replacing the existing FORTRAN Dialogs with C++ dialogs due to soem reasons (I'm not going into details and reasons for this)
5)I intend using the same FORTRAN Sub routines which carry out the calculations and call FORTRAN From C++ which I found is possible and have demonstarted some examples.
6) Can anyone provide me some tips and tell me how can I retrieve the C++ dialog data and give it to the FORTRAN code?
7) Currently I have commented the FORTRAN dialog craetion part in the subroutines and hard coded the necessary inputs from the C++ dialog.

Any tips will eb extremely useful.

Christy
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Sun May 05, 2013 4:50 pm    Post subject: Reply with quote

If you are using ClearWin+ in Fortran then, with some changes, you can use the same statements in C++.
Back to top
View user's profile Send private message AIM Address
christyleomin



Joined: 08 Apr 2011
Posts: 155

PostPosted: Mon May 06, 2013 10:05 am    Post subject: Reply with quote

I am not sure as I am not involved in C++ programming.

The code is like this:

Fortran

call CreatFortranDialog(a,b,c,...)

!!!WE get values of a,b,c

C++

call CreateC++Dialogs

//I getvalues of variables from C++ dialogs

Currently I have commented the CreateFortranDialog call in FORTRAN code and hard coded the values of a,b,c

I was thinking of calling a C++ routine where I have commented CreateFortranDialog andd getting the values of variables I need.

Any advise will be appreciated with gratefulness.

Paul, can you elaborate aout ClearWin+?
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Mon May 06, 2013 6:57 pm    Post subject: Reply with quote

ClearWin+ is the Silverfrost graphical user interface used to create /output dialogues from Fortran or C++.
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