Author
Topic: I nolonger Hate Pointers!
Blayne Bradley
unregistered
posted March 20, 2007 04:07 PM
I went to my teacher and asked him to reexplain pointers to me, going through the online notes and I now believe I understand pointers. I am now Officially Happy.
IP: Logged |
Will B
Member
Member # 7931
posted March 20, 2007 05:54 PM
*resolves not to say anything about auto_ptr* Congrats!
Posts: 1877 | Registered: Apr 2005
| IP: Logged |
Alcon
Member
Member # 6645
posted March 20, 2007 05:59 PM
You hated pointers? My god, pointers are the greatest thing in the world! I love them The reason I hate java is it's utter lack of real pointers.
Posts: 3295 | Registered: Jun 2004
| IP: Logged |
King of Men
Member
Member # 6684
posted March 20, 2007 06:00 PM
Eh? Java has only pointers. Perhaps the problem is not in the language?
Posts: 10645 | Registered: Jul 2004
| IP: Logged |
fugu13
Member
Member # 2859
posted March 20, 2007 07:39 PM
Now you get to learn about how most of the time good programming involves not using pointers (by which I mean, any sort of pointer manipulation, not avoiding pointers in your code entirely) directly, but instead using the high quality, safe capabilities in libraries like boost.
Posts: 15770 | Registered: Dec 2001
| IP: Logged |
Megan
Member
Member # 5290
posted March 20, 2007 08:01 PM
I think pointers are very beautiful, and I hear they're great hunting dogs, though I haven't had any personal experience with them.
Posts: 4077 | Registered: Jun 2003
| IP: Logged |
Swampjedi
Member
Member # 7374
posted March 20, 2007 09:49 PM
Great, and I'm stuck using Ada. Thanks bunches, DoD! :-) Oh, and Java uses references, not pointers.
Posts: 1069 | Registered: Feb 2005
| IP: Logged |
Boris
Member
Member # 6935
posted March 20, 2007 10:05 PM
quote: Originally posted by Megan: I think pointers are very beautiful, and I hear they're great hunting dogs, though I haven't had any personal experience with them. Darn you! I came to the thread late and my joke was already taken!
Posts: 3003 | Registered: Oct 2004
| IP: Logged |
Tara
Member
Member # 10030
posted March 20, 2007 10:36 PM
As usual, I have no idea what your thread is about.
Posts: 930 | Registered: Dec 2006
| IP: Logged |
Annie
Member
Member # 295
posted March 21, 2007 04:20 AM
Tara, I'd recommend going to your local library and checking out a book on the subject when you feel uninformed. There. That was my pointer. *rimshot*
Posts: 8504 | Registered: Aug 1999
| IP: Logged |
anti_maven
Member
Member # 9789
posted March 21, 2007 04:36 AM
Top comedy drumkit action! *buddadum tsssch*
Posts: 892 | Registered: Oct 2006
| IP: Logged |
Tresopax
Member
Member # 1063
posted March 21, 2007 08:48 AM
<points to Annie's post>
Posts: 8120 | Registered: Jul 2000
| IP: Logged |
Bokonon
Member
Member # 480
posted March 21, 2007 11:44 AM
quote: Originally posted by Swampjedi: Great, and I'm stuck using Ada. Thanks bunches, DoD! :-) Oh, and Java uses references, not pointers. They are interrelated (you can use a pointer like a reference if you want). It's just a matter of inderection, at the basic level. -Bok
Posts: 7021 | Registered: Nov 1999
| IP: Logged |
ricree101
Member
Member # 7749
posted March 21, 2007 01:46 PM
quote: Originally posted by Tresopax: <points to Annie's post> Just make sure she doesn't delete it, then.
Posts: 2437 | Registered: Apr 2005
| IP: Logged |
Swampjedi
Member
Member # 7374
posted March 21, 2007 05:39 PM
I know, but you can't use a reference like a pointer. No arithmetic!
Posts: 1069 | Registered: Feb 2005
| IP: Logged |
Bokonon
Member
Member # 480
posted March 21, 2007 10:52 PM
Pointer arithmetic is EVIL. Thar be bugs there! -Bok
Posts: 7021 | Registered: Nov 1999
| IP: Logged |