代码搜索结果
找到约 10,000 项符合
6 的代码
chapter6_6.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
chapter6_6.dsp
# Microsoft Developer Studio Project File - Name="Chapter6_6" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86
chapter6_6.plg
Build Log
--------------------Configuration: Chapter6_6 - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\AD
bo6-6.cpp
// bo6-6.cpp 二叉树的三叉链表存储(存储结构由c6-7.h定义)的基本操作(21个)
Status InitBiTree(BiPTree &T)
{ // 操作结果: 构造空二叉树T
T=NULL;
return OK;
}
void DestroyBiTree(BiPTree &T)
{ // 初始条件: 二叉树T存在。操作结果: 销毁二叉树
main6-6.cpp
// main6-6.cpp 检验bo6-6.cpp的主程序
#define CHAR // 字符型
//#define INT // 整型(二者选一)
#include"c1.h"
#ifdef CHAR
typedef char TElemType;
TElemType Nil=' '; // 字符型以空格符为空
#endif
#ifdef INT
c6-6.h
// c6-6.h 二叉树的三叉链表存储表示
typedef struct BiTPNode
{
TElemType data;
BiTPNode *parent,*lchild,*rchild; // 双亲、左右孩子指针
}BiTPNode,*BiPTree;
例6-6.m
clear all %初始化(给定环半径,电流,图形)
mu0=4*pi*1e-7; %真空导磁率(T*m/A)
I0=5.0;
Rh=1; %这两个常数不影响结果
C0=mu0/(4*pi)*I 0; %归并常数
NGx=21;NGy=21; %设定观测点网格数
x=l
xt6-6.cpp
#include
using namespace std;
int main()
{int length(char *p);
int len;
char str[20];
coutstr;
len=length(str);
cout