Posted by fraz on 10/31/06 19:11
Jerry Stuckle wrote:
> Yuk! Some of the worst C code I've ever seen. Virtually no comments,
> meaningless single character variable names and even the function names
> are cryptic. I'm sure it works - but I'd hate to have to spend the time
> understanding the code. And quite frankly I'd be embarrassed to even
> post it.
>
> But back to your problem. Brute force might be the easiest way.
> Figuring you have 3 different orientations of the packages (assuming
> they have symmetric shapes), a recursive routine might work. And as
> long as you don't have to make too many calculations it should be
> relatively fast.
>
thanks for taking a look.
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstucklex@attglobal.net
> ==================
Navigation:
[Reply to this message]
|