How to get address of an array
From: Shuo Yang (yang22_at_purdue.edu)
Date: 04/28/04
- Next message: Gerry Thomas: "Re: Question on complex algebra"
- Previous message: Gerry Thomas: "Re: Question on complex algebra"
- Next in thread: Dr Ivan D. Reid: "Re: How to get address of an array"
- Reply: Dr Ivan D. Reid: "Re: How to get address of an array"
- Reply: Les: "Re: How to get address of an array"
- Reply: Dave Seaman: "Re: How to get address of an array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 27 Apr 2004 19:04:44 -0500
I have a two dimension array in fortran,
double precision buffer(size, 4)
I want to get the 2nd row's starting address, i.e, buffer(1, 2). How can
I do it?
Is there a way similar to C like
//what I want to do here
{
char* p;
p= &(buffer[1,2])
}
Thanks.
- Next message: Gerry Thomas: "Re: Question on complex algebra"
- Previous message: Gerry Thomas: "Re: Question on complex algebra"
- Next in thread: Dr Ivan D. Reid: "Re: How to get address of an array"
- Reply: Dr Ivan D. Reid: "Re: How to get address of an array"
- Reply: Les: "Re: How to get address of an array"
- Reply: Dave Seaman: "Re: How to get address of an array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|