c-source code to control flow diagram
In my project one of the module is "c-source code to control flow diagram conversion".I used " Point " for store the x-axis and y- axis values. First I draw the leftside arrow and store the x,y values into Point p1.Then I draw rightside arrow and store the x,y axis values into Point p2. The problem is ,the p2 new values is assigned into p1 .because i called the method in paint(). it will change the p1 value .so I could not draw anything (arrow,decision box)in leftside further. how to solve it?.