I had the second element of dirnames pointing to NULL at first, so I'll try that again.
I'm modifying someone else's program, so I can only hope that they used malloc correctly. Well, I guess I...
Type: Posts; User: jhopper
I had the second element of dirnames pointing to NULL at first, so I'll try that again.
I'm modifying someone else's program, so I can only hope that they used malloc correctly. Well, I guess I...
Ahhh, that was a good refresher course. I don't think I ever quite grasped the concept of double pointers, and that tutorial was excellent.
One last question, on a problem that I can't quite...
Wow, I went from forgetting to allocate memory for a variable to "you don't understand at all what is going on." Thanks for the 'constructive' reply...
This problem is pretty involved, and perhaps no one will be able to help me, but I thought I would throw it out and see.
Before I get into the problem, I should ask if there is a function in...
I should note that I'm new to C, and all I've coded before was C++, so I had no idea that you had to manually allocate memory for that variable =(
It works great now when I use malloc. When do...
It's been a while since I've coded C, and I'm just getting used to it again. I am having a problem with a double pointer, as in a pointer that points to a list of other character pointers. My...