代码搜索结果
找到约 10,000 项符合
6 的代码
prg6_6.c
// File: prg6_6.c
#include /* These are the usual header files */
#include /* for bzero() */
#include /* for close() */
#include
xt6-6.cpp
#include
using namespace std;
int main()
{int length(char *p);
int len;
char str[20];
coutstr;
len=length(str);
cout
bo6-6.c
/* bo6-6.c 二叉树的三叉链表存储(存储结构由c6-7.h定义)的基本操作(21个) */
Status InitBiTree(BiPTree *T)
{ /* 操作结果: 构造空二叉树T */
*T=NULL;
return OK;
}
void DestroyBiTree(BiPTree *T)
{ /* 初始条件: 二叉树T存在。操作结果:
c6-6.h
/* c6-6.h 二叉树的三叉链表存储表示 */
typedef struct BiTPNode
{
TElemType data;
struct BiTPNode *parent,*lchild,*rchild; /* 双亲、左右孩子指针 */
}BiTPNode,*BiPTree;
main6-6.c
/* main6-6.c 检验bo6-6.c的主程序 */
#define CHAR /* 字符型 */
/*#define INT /* 整型(二者选一) */
#include"c1.h"
#ifdef CHAR
typedef char TElemType;
TElemType Nil=' '; /* 字符型以空格符为空 */
#endif
#ifd
samp6_6.m
%Samp6_6
wp=0.2*pi;ws=0.3*pi;Rp=1;Rs=15; %数字滤波器截止频率、通带波纹和阻带衰减
T=0.01;Nn=128; %采样间隔
Wp=wp/T;Ws=ws/T; %得到模拟滤波器的频率—采用脉冲响应不变法的频率转换形式
[N,Wn]=buttord(Wp,Ws,Rp,Rs,'s'); %计算模拟滤波器的最小阶数
[z,p,k]=but
chapter6-6.cpp
//文件名:CHAPTER6-6.cpp
#pragma warning(disable:4786)
#include
#include
using namespace std ;
typedef vector INTVECTOR;
void main()
{
INTVECTOR thevector;
thevec