I am Iterating over a vector that stores Point data type elements [x,y], And what i want to achieve at every iteration is to add first 4 point x elements and first 4 points y elements....The during the next iteration i want to do the same with the next 4 x & y......and so on
When i comet out the part where I am trying to add all the x's and y's the program works fine just like it did before.....Therefore the issue must me there..I guess the syntax is not right but am not the best programmer and couldn't this of whats wrong as there is no compiler warnings....the program just crashes at run time
Can anyone possibly see what I am doing wrong with this code
regards
Yes that right my bad sorry....forgotten to remove this statment before posting this query......Why i tried it in the first place is that i literary tried everything that i know :D if that makes sens....anyway i alter this post so that it no more cases confusing. regards