> Well there is the whole learning experience too ya know.
Yes, futility is a lesson I suppose - Like cutting the lawn with scissors.
Another being recognising the best tool for the job.
> Well there is the whole learning experience too ya know.
Yes, futility is a lesson I suppose - Like cutting the lawn with scissors.
Another being recognising the best tool for the job.
Thank you guys for all of that help! (Especially the shell script!). So i was working on Version 3 of the C programmed get Images program, and BAM! Segment fault, so I laughed at the screen thinking it would be incredibly easy for me to solve this sucker--it wasn't! I know where the segment fault is, & it is highlighted in the source of the txt file that I uploaded. free() just doesn't like to be free! :(.
Could someone help me out with this segment fault?
Boy, you sure go out of your way to make it difficult for people to help you.
First you post bitmaps, then you ask people to download a text file.
What's wrong with just pasting it directly into the message surrounded by [code][/code] tags?
> ImagesList[Image_Number] = szImage;
This should use
> ImagesList = malloc(Image_Total * (sizeof ImagesList));Code:strcpy(ImagesList[Image_Number],szImage);
Although it shouldn't be a problem for you, this should really be
Oh, and what's with all the C99/C++ embedded declarations?Code:ImagesList = malloc(Image_Total * (sizeof *ImagesList));
Because I thought I had too many lines of code :(Originally Posted by Salem
Experiments, Emmanuel Delaha put a {} block in one of his examples, I really like them!Originally Posted by Salem
Now everything is complete! It's time to share all of this great work: