• 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
Really stupid c question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Really stupid c question


  • Subject: Really stupid c question
  • From: Brian Williams <email@hidden>
  • Date: Thu, 11 Apr 2002 02:59:40 -0700 (PDT)

Hi everyone,

I have a stupid c question about Cocoa. Coming from the land of Java I am not
really used to dealing with memory and such. I am trying to make a BOOL array
to have a one bit rep of the screen for a screen saver. (it's only for objects
to reference not for drawing) When I try to make a BOOL array like this ->
BOOL test[786432] /*1024 *768 ==786432*/ it crashes. I am guessing that I am
going out of the local memory space? or something like that.

Any help is greatly appreciated

Thanks


=====
Brian Williams
homepage == <http://chromaticgray.com>
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Really stupid c question
      • From: Nat! <email@hidden>
    • Re: Really stupid c question
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: Drag&Drop
  • Next by Date: Re: Really stupid c question
  • Previous by thread: Re: Drag&Drop
  • Next by thread: Re: Really stupid c question
  • Index(es):
    • Date
    • Thread