The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

How could I make this explanation clearer? by Phoon2007-09-23 18:57:39
  Sounds very clear to me by oot 2007-09-23 19:08:52
I suppose if you wanted to be extra-clear, you could add (italics was already there, bold is new):
Remember that the argument to malloc() is always interpreted as bytes. If you need to contain anything other than character values, you need to use the sizeof() operator, which will return the size in bytes that a variable or object will take.

If they need an analogy for the pointer part, tell them it's like renting a locker at a gym -- the gym gives you access to the space, but YOU have to remember the locker number, or you won't be able to find/use it. The pointer is a tool that remembers your locker number for you.
[ Reply ]
    Steely Dan: Ricky, don't lose that pointer. by kahuana2007-09-23 19:13:53

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)