代码搜索:查表法
找到约 10,000 项符合「查表法」的源代码
代码结果 10,000
www.eeworm.com/read/212829/15148344
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/212376/15157095
m exm060252_1.m
clf;dx=0.1;x=0:dx:4;y=x.*sin(x);s=cumtrapz(y)*dx; %梯形法求累计积分
plotyy(x,y,x,s),text(0.5,0,'\fontsize{14}\ity=xsinx')
sint='{\fontsize{16}\int_{\fontsize{8}0}^{ x}}';
text(2.5,3.5,['\fontsize{14}\its=
www.eeworm.com/read/211089/15187248
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/211089/15187277
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/211089/15187281
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/211089/15187291
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/211089/15187296
cpp xuanze4.cpp
//选择排序法(函数模板)xuanze4.cpp
// 排序不改变原数组各元素的值
#include
#include
#include
#include
#include
#define M 10
template
void sortp(T d[],T *pd
www.eeworm.com/read/211084/15187478
h tree.h
//树的孩子兄弟表示法为存储结构的结构体Tree.h
template class Tree;
template struct TreeNode
{friend class Tree;//树类为友元
private:
TreeNode *firstChild;//第一个孩子结点指针域
TreeNode *nextSibli
www.eeworm.com/read/211015/15188670
h 10_4.h
#ifndef SEARCH_METHODS
#define SEARCH_METHODS
//用顺序查找法在数组list中查找值为key的元素
//若找到,返回该元素下标,否则返回-1
template
int SeqSearch(T list[], int n, T key)
{
for(int i=0;i < n;i++)
if (l
www.eeworm.com/read/210226/15204023
c seral_c.c
//*********************************************************************
//实现功能:用查询法实现单片机接收到电脑发送过来的数据之后把收到的数据
// 发回给电脑
//目标板 :至强51开发板
//开发商 :电子开发网www.dzkf.com (专业提供开发方案,
// 电子元器件网上