27

I hate fucking pointers.

Comments
  • 4
    What part about them confuses you? I'm no C wizard, but I understand pointers fairly well I think.
  • 5
    A variable is a glass that you fill with beer (value). When you want to fill the glass, you point it and fill it with beer. If you want the same beer to another glass you can set the value of the first to second glass. Then you will have two glasses both filled with the same beer.

    Now. Imagine the following. You emptied your glass. If you order another without pointers you will get a new glass with the new beer. If you use pointers, you'll get a refill for your glass.

    That's just about it. Really. How you write it can be confusing in C so hang in there!!
  • 3
    Pointer = reference
    No pointer = value

    Am I right?
  • 1
    @azous yup.
  • 3
    I love them! Sometimes when I am waiting for a build I just move my mouse around and around watching the trail all over. It's pretty.
  • 0
    @jAsE not to another variable, but to a value, probably set to a variable
  • 3
    See 10th comment
  • 0
    Think of it like.. I am going to store all my stuff at this address and all the pointer is doing is storing that address so you can remember where it is. All the & does is gives you the address opposed to the value and the * just allows you to point to it.
  • 1
    @lostinmyworld

    Did you know how many beers i drink just to test the whole concept of pointers and after 10 beers i get very confused.....:)
  • 0
    @valkur3om3ga it's the price you got to pay.
Add Comment