Without fully debugging your program, I'm suspicious of the line that says for(j = I - i%N + N +1; j.
" Forgive me but it feels like a homework problem. Note: Should this be a comment instead of an answer? I'm new here...
I am already doing what you said in your algorithm. I found the problem. Y coordinates of the points at the middle of the convex polygon does not match.So it is not doing x-interpolation and not pushing to stack.
For(j = I -i%N + N +1) means pass to next edge(don't search the edge you are on for same y coord because it cant exist) – emmpati Mar 13 at 6:12 1 Sorry I wasn't much help then, but at least it works! At risk of being a real jerk, I'd recommend avoiding 'special flags' like isVisited or convoluted numbers like i-i%N+N+1 unless absolutely necessary. The larger programs become, the more unintelligible and unmaintainable these tricks become.
I'm pulling my hair out right now (and procrastinating) trying to cleanse a program of exactly this! – Ricky Mar 13 at 6:38.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.