📄 10038.html
字号:
<html>
<head>
<title>Re: 有关「溢位」的问题?</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>Re: 有关「溢位」的问题?</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by <a href="mailto:purewater@ms6.url.com.tw">矿泉水</a> on February 10, 1999 at 14:47:42:<p>
In Reply to: <a href="10029.html">有关「溢位」的问题?</a> posted by 小天 on February 10, 1999 at 12:00:55:<p>
<br>: 以下这一行是我的程式码,但每一次执行到它时都会产生溢位的讯息!<br>: 可否请大家告诉小弟该如何解决?<br>: 假设: num=325 整数型态<br>: BLOCK(6)=100 byte型态<br>: bmp.bmwidthbytes=800<br>: row=55<br>: BLOCK(7)=10 byte型态<br>: lngcount1 long型态<p>: lngcount1 = (num * BLOCK(6)) Mod bmp.bmWidthBytes + row * bmp.bmWidthBytes * BLOCK(7)<p>:: 请问 bmp.bmwidthbytes=800 是一个picture 的物件吗?<p>::若是单纯的变数那应该不会发生溢位的问题.
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 10038-->
</ul><!--end: 10038-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -