Posted by Luke Jordan on 1999-05-31
For some reason, whenever I enter a for loop in C, half of my pointers go null. I run my program through GDB, set a watchpoint, and a pointer that I've declared in the function goes to address 0x0. This is screwing up everything, so any ideas what I'm doing wrong? "To be nobody but yourself in a world which is doing its best night and day to make you like everybody else means to fight the hardest battle any human being can fight and never stop fighting." E. E. Cummings "Thinking men cannot be ruled" Ayn Rand "If you think your belief is based upon reason, you will support it by argument rather than by persecution ... but if your belief is based upon faith it is useless, and you will resort to force either in the form of persecution or by stunting or distorting the minds of the young in what is called 'education.'" Bertrand Russell
Previous post | Next post | Timeline | Home