Okay, I have been messing around and have figured out a little bit more. C++ and Fortran can access/share memory for most basic types and basic derived types. I have fixed the example I diplayed earlier so that it works.
HOWEVER, I still don't seem to be able to get any array to be shared as...
Hi, I am back again. I am still having a problem. So I am going to explain what I am trying to do, then post the code I have, and maybe get some help.
I want my C++ program to set some variable that are in an area that can be shared with Intel Fortran 10.1. I then want to call a Fortran...
Thank you both for responding. You are right I did forget to add the other array in my .cpp. I was trying not to cut/paste too much.
Salem, I have done what you said and so far so good. I am going to work my way up to the code that I need.
xwb, yes I did find the documentation and I will...
I want to know how to access the data in a Fortran 90 Module from Visual C++. I am using Visual C++ .net 2003 and Intel Fortran 10.1. I added the fortran .lib file to the linker inputs in visual c++. My program compiles no problem, but then has an access violation error upon running.
C++...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.