I was going to write an article about how pointers aren't confusing
-
What's so confusing about them? They point to a memory location. Think of an address as an index into a big array of bytes. No big. =)
Real programmers use butterflies
Pointers are powerful and easy to use can lead to disaster when not used correctly, as can be seen when trying to debug a pointer problem.
I'm not sure how many cookies it makes to be happy, but so far it's not 27. JaxCoder.com
-
Pointers are powerful and easy to use can lead to disaster when not used correctly, as can be seen when trying to debug a pointer problem.
I'm not sure how many cookies it makes to be happy, but so far it's not 27. JaxCoder.com
Yeah. There is that. It's easier to use them correctly though if you understand them intuitively. These days most of my pointer problems are caused by things i forget to initialize. :doh:
Real programmers use butterflies
-
I'd say the links it returns are the pointers, but you do you. :)
Real programmers use butterflies
honey the codewitch wrote:
links it returns are the pointers
So is Google a pointer factory, or a pointer dictionary?
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
-
honey the codewitch wrote:
links it returns are the pointers
So is Google a pointer factory, or a pointer dictionary?
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
That's a fantastic question. :-D
Real programmers use butterflies
-
Until I realized in the process of trying to explain them that they probably are. Just because I find something intuitive doesn't mean I can make it intuitive to others. :doh: The secret with pointers is to enjoy the freedom they bring you rather than fearing the danger they present. Aside from that, the rest is details.
Real programmers use butterflies
-
Until I realized in the process of trying to explain them that they probably are. Just because I find something intuitive doesn't mean I can make it intuitive to others. :doh: The secret with pointers is to enjoy the freedom they bring you rather than fearing the danger they present. Aside from that, the rest is details.
Real programmers use butterflies
honey the codewitch wrote:
to enjoy the freedom they bring you rather than fearing the danger they present.
True for so many things! :laugh:
Latest Articles:
Thread Safe Quantized Temporal Frame Ring Buffer -
They're not confusing at all. ( I removed the link ) use the wikipedia instead : [Pointer (dog breed) - Wikipedia](https://en.wikipedia.org/wiki/Pointer\_(dog\_breed))
I'd rather be phishing!
My antivirus started to ring bells with that link. Just in case, don't visit it. https://static.searchiq.cc/js/2.2.57/sa.js Name of the thread: JS:Trojan.JS.Downloader.DOY Really sad if we can't trust the links of other old CPians in the lounge to webs that shouldn't be dangerous :sigh: :sigh: :sigh:
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
-
Until I realized in the process of trying to explain them that they probably are. Just because I find something intuitive doesn't mean I can make it intuitive to others. :doh: The secret with pointers is to enjoy the freedom they bring you rather than fearing the danger they present. Aside from that, the rest is details.
Real programmers use butterflies
look forward to see your this article!:rose:
diligent hands rule....
-
Until I realized in the process of trying to explain them that they probably are. Just because I find something intuitive doesn't mean I can make it intuitive to others. :doh: The secret with pointers is to enjoy the freedom they bring you rather than fearing the danger they present. Aside from that, the rest is details.
Real programmers use butterflies
-
Pointers are evil... ...evil is fun.
"In testa che avete, Signor di Ceprano?" -- Rigoletto
But they're so cute and cuddly. Especially my precious little void*. Who's a good little typeless pointer? YOU ARE!
Real programmers use butterflies
-
My antivirus started to ring bells with that link. Just in case, don't visit it. https://static.searchiq.cc/js/2.2.57/sa.js Name of the thread: JS:Trojan.JS.Downloader.DOY Really sad if we can't trust the links of other old CPians in the lounge to webs that shouldn't be dangerous :sigh: :sigh: :sigh:
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
weird, it passed out over zealous web nanny on my office computer. I removed the link and put the wikipedia link instead. :thumbsup:
I'd rather be phishing!
-
Until I realized in the process of trying to explain them that they probably are. Just because I find something intuitive doesn't mean I can make it intuitive to others. :doh: The secret with pointers is to enjoy the freedom they bring you rather than fearing the danger they present. Aside from that, the rest is details.
Real programmers use butterflies
I guess your article should point that out ;p
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
-
But they're so cute and cuddly. Especially my precious little void*. Who's a good little typeless pointer? YOU ARE!
Real programmers use butterflies
-
Pointers are powerful and easy to use can lead to disaster when not used correctly, as can be seen when trying to debug a pointer problem.
I'm not sure how many cookies it makes to be happy, but so far it's not 27. JaxCoder.com
Quote:
Pointers are powerful and easy to use can lead to disaster when not used correctly, as can be seen when trying to debug a pointer problem.
Anyone trying to debug pointer problems without using valgrind is probably a masochist.
-
Quote:
Pointers are powerful and easy to use can lead to disaster when not used correctly, as can be seen when trying to debug a pointer problem.
Anyone trying to debug pointer problems without using valgrind is probably a masochist.
Had never heard of Valgrind.
I'm not sure how many cookies it makes to be happy, but so far it's not 27. JaxCoder.com
-
My confusion with pointers started very early this morning, since I read the subject as, 'printers aren't confusing.' Time for coffee...
Kris Lantz wrote:
Time for coffee...
Why did you do that? The only thing you should do before drinking coffee is making coffee. Any other action is futile, except you won't be assimilated. :laugh:
-
They're not confusing at all. ( I removed the link ) use the wikipedia instead : [Pointer (dog breed) - Wikipedia](https://en.wikipedia.org/wiki/Pointer\_(dog\_breed))
I'd rather be phishing!
I thought about that pointer, yesterday, but thought it would destroy the tattered remains of my reputation. Perhaps that is why you can use a pointer to fetch data.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010
-
Kris Lantz wrote:
Time for coffee...
Why did you do that? The only thing you should do before drinking coffee is making coffee. Any other action is futile, except you won't be assimilated. :laugh:
On the weekends, coffee enjoyment is top of the list. The weekdays are a bit more chaotic, and coffee may not be had until about a half hour after getting to work. :^)
-
weird, it passed out over zealous web nanny on my office computer. I removed the link and put the wikipedia link instead. :thumbsup:
I'd rather be phishing!
I suppose it was a google ad or similar... they don't necessarily have to be the same for you as for me or when you took the link as to when I visited the site.
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
-
Until I realized in the process of trying to explain them that they probably are. Just because I find something intuitive doesn't mean I can make it intuitive to others. :doh: The secret with pointers is to enjoy the freedom they bring you rather than fearing the danger they present. Aside from that, the rest is details.
Real programmers use butterflies
I remember learning pointers being a real "light bulb" type of learning experience for me. I felt like I was banging my head against a wall trying to figure them out, then with a single revelation, they suddenly made complete sense to me. I've never been able to figure out what caused that revelation.