Thanks for the Tip, Cakiwi ... Got to get rid of the first error, however I have not been able to get rid of the error EXTRACT@36 .
I basically tired to use an INTERFACE statement to kind of get rid of this error, however I guess there's something wrong with the statement
!DEC$ ATTRIBUTES C...
I found the tip from Cakiwi very helpfull and that from xwb was a very good point;
However I kept recieving the statements ...
unresolved external _MAIN
unresolved external _EXTRACT@36
when I tried to build an .exe
The fortran Programm I wrote was however without Errors after compiling.
Yes that's exactly what I mean, as in I need the data present in .c (in form of a struct) for use in fortran
...Such that when implemented I have the corrsponding values (Name Unit and Type ) to each Number I give in.
I work with a Visual F90, the implemented data should be tranfered to a...
I basically want to call the following struct in .c from fortran as follows
...
struct AZNames{
int Number;
char *Name;
char *Unit;
int Typ;
};
static struct AZName AZLNames[] = {
{1, "Interaction G(%d)" , "Sa", 1}
{2, "Object H(%d)" , "Da", 3}
{3...
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.