niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Programming » C++
multiplie language prog
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
igthibau
*nix forums beginner


Joined: 18 Jan 2006
Posts: 11

PostPosted: Wed Jul 19, 2006 10:01 am    Post subject: multiplie language prog Reply with quote

Hello there,
Right, here is my predicament : I have developped a prog in fortran, but I
now need to do parts of it in c/c++.
Question is : how can I use the data produced by the fortran part with the
c/C++ part ?
can it be done within the same code ???
This excludes the possiblity of outputting to a file and reading the lot
from the c/c++ part.
This is done under linux, using vim and gfortran and gcc.

Any ideas welcome.
Thanks
G.
Back to top
pemo
*nix forums Guru


Joined: 04 Aug 2005
Posts: 384

PostPosted: Wed Jul 19, 2006 11:31 am    Post subject: Re: multiplie language prog Reply with quote

GT wrote:
Quote:
Hello there,
Right, here is my predicament : I have developped a prog in fortran,
but I now need to do parts of it in c/c++.
Question is : how can I use the data produced by the fortran part
with the c/C++ part ?
can it be done within the same code ???
This excludes the possiblity of outputting to a file and reading the
lot from the c/c++ part.
This is done under linux, using vim and gfortran and gcc.

Google for:

mixing gcc gfortran
Back to top
Fred J.
*nix forums addict


Joined: 30 Sep 2005
Posts: 96

PostPosted: Thu Jul 20, 2006 11:06 pm    Post subject: Re: multiplie language prog Reply with quote

"GT" <igthibau@wanadoo.fr> writes:

Quote:
Hello there,
Right, here is my predicament : I have developped a prog in fortran, but I
now need to do parts of it in c/c++.
Question is : how can I use the data produced by the fortran part with the
c/C++ part ?
can it be done within the same code ???
This excludes the possiblity of outputting to a file and reading the lot
from the c/c++ part.
This is done under linux, using vim and gfortran and gcc.

Any ideas welcome.
Thanks
G.
www.swig.org/
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Mon Dec 01, 2008 9:27 pm | All times are GMT
navigation Forum index » Programming » C++
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Bug#379054: ITP: lisaac -- Lisaac is the first object-ori... picca frederic devel 0 Thu Jul 20, 2006 9:30 pm
No new posts C++ language grammar? Kishore C++ 5 Thu Jul 20, 2006 10:05 am
No new posts Help for designing outlines in c language Manmeet Mittal C 11 Mon Jul 17, 2006 7:15 pm
No new posts how to use STL library in c language umarriaz@gmail.com C 18 Fri Jul 14, 2006 6:09 am
No new posts Writing multilingual site - how to effectively output str... romayankin@gmail.com PHP 12 Mon Jul 10, 2006 10:59 pm

Online Advertising | Internet Advertising | Buy Shares | Project cars for sale | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1694s ][ Queries: 16 (0.0869s) ][ GZIP on - Debug on ]