• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Static data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Static data?


  • Subject: Re: Static data?
  • From: Creed Erickson <email@hidden>
  • Date: Tue, 6 Jul 2004 21:58:03 -0700

On Tuesday, July 6, 2004, at 03:26  PM, Markian Hlynka wrote:

So, now, the previous post confused me. What is the _correct way of doing this:

int foo[1024][1024][1024];

dynamically?


int *foo = (int *)calloc((1024*1024*1024),sizeof(int));

Array indexing is just pointer math, i.e., the pointer resulting from the above can be offset with indices such as foo[x][y][z]. _______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.



References: 
 >Re: Static data? (From: Markian Hlynka <email@hidden>)

  • Prev by Date: FYI: Xcode "Find In Project" Regular Expression syntax
  • Next by Date: Re: Disabling a Processor
  • Previous by thread: Re: Static data?
  • Next by thread: Re: Static data?
  • Index(es):
    • Date
    • Thread