搜索结果
找到约 101 项符合
null-terminated 的查询结果
数学计算 先序遍历非递归算法 #define maxsize 100 typedef struct { Bitree Elem[maxsize] int top }SqStack void PreOrderUn
先序遍历非递归算法 #define maxsize 100 typedef struct { Bitree Elem[maxsize] int top }SqStack void PreOrderUnrec(Bitree t) { SqStack s StackInit(s) p=t while (p!=null !StackEmpty(s
数据结构 这是一个好用的MD5的C++类;这个类可以加在控制台 程序中也可用在MFC中
这是一个好用的MD5的C++类;这个类可以加在控制台 程序中也可用在MFC中, 并且提供了详细的错误处理 函数,是一个安全的类。例程是一个MD5的MFC程序, 支持字符串和文件两种输入。 LPCSTR TargetFile(char *filename=NULL) //计算文件的MD5值 void TargetStr(LPCSTR str) //计算字符串的MD5值 LPCSTR GetDigestKey() //取M ...
Applet java 100例子 import javax.swing.JOptionPane //调用method class c { //定义名字 public static void
java 100例子
import javax.swing.JOptionPane //调用method
class c { //定义名字
public static void main(String[] args)
{ //开始method
JOptionPane.showMessageDialog( null, "错误" ) //显示一条信息
System.exit(0) // 结束程序
} //结束method
} //结束class ...
数据结构 数字运算
数字运算,判断一个数是否接近素数
A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum o ...
驱动编程 This structure defines the interface between the low-level tty driver and the tty routines. The foll
This structure defines the interface between the low-level tty driver and the tty routines. The following routines can be defined unless noted otherwise, they are optional, and can be filled in with a null pointer.
其他 * Function: * 1. Replace the first oldstr with newstr in srcstr * Arguments: * IN : * srcst
* Function:
* 1. Replace the first oldstr with newstr in srcstr
* Arguments:
* IN :
* srcstr
* oldstr
* newstr
* OUT :
* srcstr
* Return:
* 1. If find and replace one oldstr with newstr in srcstr , return 1
* 2. If find no oldstr in srcstr , return 0
* 3. If error (malloc return NULL) ...
书籍源码 This Program Is Designed To Simulate A Spatial Antenna Array System Working On The MUSIC Algorith
This Program Is Designed To Simulate A Spatial Antenna Array
System Working On The MUSIC Algorithm For The Angle Of Arrival Estimation
And Null Steering Algorithm For The Weights Estimation To The Required
Output Radiation Pattern .
Windows CE //打开 USB 口读写, 由驱动程序的 Pipe 名确定 HANDLE hPipe = OpenMyDevPipe("MyPipe1") //驱动程序里面的 Pipe 名, 对应访问某个端点
//打开 USB 口读写, 由驱动程序的 Pipe 名确定
HANDLE hPipe = OpenMyDevPipe("MyPipe1") //驱动程序里面的 Pipe 名, 对应访问某个端点的 I/O, 这里我乱写的, 需要与驱动一致
if(hPipe != INVALID_HANDLE_VALUE) //打开 Pipe 成功
{
ReadFile(hPipe, Buffer, BufSize, &nBytesRead, NULL) //从 hPipe 里读取数据到 Buff ...
通讯/手机编程 This sample demonstrates how to take pictures and videos using the CameraCaptureDialog managed AP
This sample demonstrates how to take pictures and videos using the CameraCaptureDialog
managed API.
If a default filename is used:
- if a still picture is taken, the ".jpg" extension is appended to the default filename.
(Otherwise the CameraCaptureDialog would throw an InvalidArgumentExceptio ...
其他 本程序中得到的收端OFDM信号的频谱波形
本程序中得到的收端OFDM信号的频谱波形,是与其发端信号的排步有关的。在发端的
% 载波安排上,128个载波有前后各32个载波是null载波(如果这前后各32各载波是带外频段,
% 那么理论上它们都应该是零!),中间的64个载波是数据载波。这样的排步很明显就是一个
% 两边低,中间高的频谱形式。所以,收端也应该是这个轮廓。 ...