```````VB中实现这个代码会提示溢出为什么?
Sub DdaLine(x1 As Integer, y1 As Integer, x2 As Integer, y2 As Integer, c As Long) Dim dx As Integer Dim dy As Integer Dim x As Integer Dim y As Integer Dim p As I... 展开
其他答案
If (dx * dy >= 0) Then 里 dx * dy 溢出 Integer 了,改为If (dx >= 0 And dy >= 0) Or (dx <= 0 And dy <= 0) Then
2011-01-01 06:45
来自北京市
赞(2)点赞赞(2)举报
免责声明:问答内容均来源于互联网用户,房天下对其内容不负责任,如有版权或其他问题可以联系房天下进行删除。




