pereges wrote:
> On May 9, 10:52 am, Richard Heathfield <r...@see.sig.invalid> wrote:
>
>> Debuggers are over-rated by some people, and can be a huge time sink if
>> used flailingly.
>
>
>> Yes, I agree with you that the comment about design was misguided. Module
>> boundaries should be drawn to reflect differences in functionality. The
>> idea that you have some kind of Procrustean source bed, such that any file
>> longer than N lines must be split, is silly.
>
>
>> Is that zip file ready yet?
>
> http://www.savefile.com/files/1547165
>
> Can you please provide some general tips as to how I can improve my
> style of coding ?
>
RAR files are very unfriendly for non-windows users!
A couple of points:
You don't state valid ranges for your inputs, or check them.
In find_closest_intersection, uresult and vresult and index can be used
without being assigned, which probably isn't good.
In create_reflected_rarr.efield isn't initialised.
Somewhere you are corrupting the stack.
--
Ian Collins.