📄 foobit.htm
字号:
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=GB2312">
<title>系统无关操作</title>
</head>
<body bgcolor="#ffffe7" lang=ZH-CN style='tab-interval:21.0pt'>
<h2 align="center"><b><font color="#FF0000">系统无关操作</font></b></h2>
<table width="85%" border="1" bordercolor="#3399FF" align="center" cellpadding="0" bgcolor="#CCFFFF">
<tr>
<td width="50%">
<div align="center"><font color="#FF6600"><b>类(Classes)</b></font><font color="#FF0000"><b></b></font></div>
</td>
<td width="50%">
<div align="center"><font color="#FF0000"><b><font color="#FF6600">函数(Functions)</font></b></font><font color="#FF6600"></font></div>
</td>
</tr>
</table>
<h2><font color="#FF0000"><b>类(Classes):</b></font></h2>
<h2><font color="#FF0000"><b>函数(Functions):</b></font></h2>
<table width="85%" border="1" bordercolor="#3399FF" align="center" cellpadding="0" bgcolor="#D0FFE0">
<tr>
<td rowspan="2">文件位置:</td>
<td width="85%"><font color="#FF0000">\FLib\Include\fooBit.h</font></td>
</tr>
<tr>
<td width="85%" height="19"><font color="#FF0000">----------------------</font></td>
</tr>
<tr>
<td>使用方法:</td>
<td width="85%" height="19"><font color="#FF0000">#include "fool.h"</font></td>
</tr>
</table>
<br>
<table width="85%" border="1" bordercolor="#3399FF" align="center" cellpadding="0" bgcolor="#CCFFFF">
<tr>
<td colspan="2">
<div align="center"><b><font color="#FF0000">位操作</font></b></div>
</td>
</tr>
<tr>
<td width="50%">
<div align="center">函数原型</div>
</td>
<td width="50%">
<div align="center">功能</div>
</td>
</tr>
<tr>
<td width="50%"> template <class T><br>
<font color="#FF0000">bool fooTestBit (const T & Test, int Pos)</font></td>
<td rowspan="3">Pos :从低位 0 算起的位置。</td>
</tr>
<tr>
<td width="50%">template <class T><br>
<font color="#FF0000">void fooSetBit (T * Test, int Pos)</font><br>
template <class T><br>
<font color="#FF0000">void fooClearBit (T * Test, int Pos)</font></td>
</tr>
<tr>
<td width="50%">template <class T><br>
<font color="#FF0000">void fooFlipBit (T * Test, int Pos)</font></td>
</tr>
<tr>
<td width="50%"> template <class T><br>
<font color="#FF0000">int fooCountNum_1 (const T & Test)</font></td>
<td width="50%">统计1出现的个数。</td>
</tr>
</table>
<br>
<br>
<table width="85%" border="1" bordercolor="#3399FF" align="center" cellpadding="0" bgcolor="#CCFFFF">
<tr>
<td width="50%">
<div align="center">函数原型</div>
</td>
<td width="50%">
<div align="center">功能</div>
</td>
</tr>
<tr>
<td width="50%"> template <class T><br>
<font color="#FF0000">void fooBound (T * Test, T low, T high)</font></td>
<td rowspan="2">使Test饱和在[low,high]。</td>
</tr>
<tr>
<td width="50%">template <class T><br>
<font color="#FF0000"> T fooBound (const T & Test, T low, T high)</font></td>
</tr>
</table>
<br>
<br>
<table width="85%" border="1" bordercolor="#3399FF" align="center" cellpadding="0" bgcolor="#CCFFFF">
<tr>
<td colspan="2">
<div align="center"><b><font color="#FF0000">结构</font></b></div>
</td>
</tr>
<tr>
<td width="50%">
<div align="center">函数原型</div>
</td>
<td width="50%">
<div align="center">功能</div>
</td>
</tr>
<tr>
<td width="50%"> template <class T><br>
<font color="#FF0000">void fooInitStruct (T * structure, bool bIniHead)</font></td>
<td width="50%">初始化结构为 0<br>
bIniHead :第一个DWORD是否设为该结构的大小。</td>
</tr>
</table>
<br>
<br>
<h2 align="center"><img src="stripe.gif" width="94%" height="2"><br>
</h2>
<table align=center bgcolor=ghostwhite border=0 cellpadding=0 cellspacing=0
width=650>
<tbody>
<tr>
<td width="85%">
<p align=center>版权所有 <br>
(C)1999 - 2002 付黎<br>
<a href="mailto:crazybit@263.net">给我发信</a> <a
href="javascript:window.close()">关闭窗口</a> </p>
</td>
</tr>
</tbody>
</table>
<h2> </h2>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -