代码搜索:查表法
找到约 10,000 项符合「查表法」的源代码
代码结果 10,000
www.eeworm.com/read/380114/9162289
txt maopao2.txt
//冒泡排序法(上浮)maopao2.cpp
#include
#include
#define N 10
void gensort(int b[],int n)
{int i,j;
for(i=0;i
www.eeworm.com/read/380114/9162832
h tree.h
//树的孩子兄弟表示法为存储结构的结构体Tree.h
template class Tree;
template struct TreeNode
{friend class Tree;//树类为友元
private:
TreeNode *firstChild;//第一个孩子结点指针域
TreeNode *nextSibli
www.eeworm.com/read/380114/9163016
txt treem.txt
//树的孩子兄弟表示法为存储结构的结构体Tree.h
template class Tree;
template struct TreeNode
{friend class Tree;//树类为友元
private:
TreeNode *firstChild;//第一个孩子结点指针域
TreeNode *nextSibli
www.eeworm.com/read/183301/9170780
cpp erfenfa1.cpp
//二分查找法(递归调用)erfenfa1.cpp
#include
#include
#include
double a[10]={1.1,1.3,1.5,1.7,1.9,2.1,2.3,2.5,2.7,2.9};
void binsrch(int s,int r,double x)
{int m;
m=(s+r)
www.eeworm.com/read/183298/9171137
cpp xuanze2.cpp
//选择排序法(下沉)xuanze2.cpp
#include
#include
#include
#include
#define N 10
void gensort(int b[],int n)
{int i,j,k;
for(i=1;i
www.eeworm.com/read/183298/9171169
cpp xuanze5.cpp
//选择排序法xuanze5.cpp
//排序后不改变原数组各元素的值
#include
#include
#include
#include
#define M 10
void sortp(int d[],int *pd[],int b[],int size)
{int i,j,k;
for(i
www.eeworm.com/read/183298/9171174
cpp maopao3.cpp
//冒泡排序法(下沉)maopao3.cpp
#include
#include
#include
#include
#define N 10
void gensort(int b[],int n)
{int i,j;
for(i=1;i
www.eeworm.com/read/183298/9171192
cpp xuanze1.cpp
//选择排序法xuanze1.cpp
#include
#include
#include
#include
#define N 10
void gensort(int b[],int n)
{int i,j,k;
for(i=0;i
www.eeworm.com/read/183298/9171201
cpp xuanze4.cpp
//选择排序法(函数模板)xuanze4.cpp
// 排序不改变原数组各元素的值
#include
#include
#include
#include
#include
#define M 10
template
void sortp(T d[],T *pd
www.eeworm.com/read/183296/9171280
h tree.h
//树的孩子兄弟表示法为存储结构的结构体Tree.h
template class Tree;
template struct TreeNode
{friend class Tree;//树类为友元
private:
TreeNode *firstChild;//第一个孩子结点指针域
TreeNode *nextSibli