Click here to Skip to main content
15,892,072 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
CPallini17-Dec-20 7:37
mveCPallini17-Dec-20 7:37 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
honey the codewitch17-Dec-20 7:42
mvahoney the codewitch17-Dec-20 7:42 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
CPallini17-Dec-20 20:07
mveCPallini17-Dec-20 20:07 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
Sander Rossel17-Dec-20 11:18
professionalSander Rossel17-Dec-20 11:18 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
sam-silvercreek18-Dec-20 3:56
sam-silvercreek18-Dec-20 3:56 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
honey the codewitch18-Dec-20 3:58
mvahoney the codewitch18-Dec-20 3:58 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
sam-silvercreek18-Dec-20 4:02
sam-silvercreek18-Dec-20 4:02 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
Martin ISDN18-Dec-20 5:36
Martin ISDN18-Dec-20 5:36 
the C abstract machine

there is no problem with pointers if you look straight at them. the problem is when somebody tries to wrap them in some obscured "politically correct" story that doesn't hurt a chipmunk if you step on it.

i know this line is confusing, but Pascal was my first programing language and when the time came to grow up and use pointers normally i reached for a Pascal programming book...

well, that book in it's chapter of pointers had everything else, about lists, about binary trees... but i could not tell what pointers are.

i mean, the person who wrote that book constantly repeated how pointers are really useful although you should avoid to use them as much as possible... he doesn't know about pointers.

then i read a chapter about pointers from a C tutorial and everything became crystal clear. there was i happy and using pointers in Pascal.

the same thing was with win32 programming. you can not learn it from a Delphi book, you need a C book for that. but you can sure as hell do that in Pascal as good (or better) as in C if you learn the right way.

pointers are a fundamental thing. the 8086 processor has a few general purpose registers and about the same number of Index registers. out of this bunch SI and DI are your pointers.

and i bet you will understand pointers even better if you learn assembly than C, but C is good enough.

GeneralRe: I was going to write an article about how pointers aren't confusing Pin
honey the codewitch18-Dec-20 5:44
mvahoney the codewitch18-Dec-20 5:44 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
Martin ISDN18-Dec-20 6:07
Martin ISDN18-Dec-20 6:07 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
honey the codewitch18-Dec-20 6:20
mvahoney the codewitch18-Dec-20 6:20 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
Martin ISDN18-Dec-20 6:12
Martin ISDN18-Dec-20 6:12 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
BotReject2-Jan-21 10:51
BotReject2-Jan-21 10:51 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
honey the codewitch2-Jan-21 10:58
mvahoney the codewitch2-Jan-21 10:58 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
BotReject2-Jan-21 11:02
BotReject2-Jan-21 11:02 
GeneralAt long, long last ... it's out early! Pin
OriginalGriff17-Dec-20 1:33
mveOriginalGriff17-Dec-20 1:33 
GeneralRe: At long, long last ... it's out early! Pin
Kris Lantz17-Dec-20 2:12
professionalKris Lantz17-Dec-20 2:12 
GeneralRe: At long, long last ... it's out early! Pin
Cp-Coder17-Dec-20 2:32
Cp-Coder17-Dec-20 2:32 
GeneralRe: At long, long last ... it's out early! Pin
OriginalGriff17-Dec-20 2:53
mveOriginalGriff17-Dec-20 2:53 
GeneralRe: At long, long last ... it's out early! Pin
Cp-Coder17-Dec-20 4:58
Cp-Coder17-Dec-20 4:58 
GeneralRe: At long, long last ... it's out early! Pin
OriginalGriff17-Dec-20 5:30
mveOriginalGriff17-Dec-20 5:30 
GeneralRe: At long, long last ... it's out early! Pin
PIEBALDconsult17-Dec-20 2:55
mvePIEBALDconsult17-Dec-20 2:55 
QuestionProgramming Question of the Last Several Decades? Pin
megaadam16-Dec-20 23:46
professionalmegaadam16-Dec-20 23:46 
AnswerRe: Programming Question of the Last Several Decades? Pin
Greg Utas17-Dec-20 0:01
professionalGreg Utas17-Dec-20 0:01 
AnswerRe: Programming Question of the Last Several Decades? Pin
Richard MacCutchan17-Dec-20 0:15
mveRichard MacCutchan17-Dec-20 0:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.