代码搜索:移相法
找到约 10,000 项符合「移相法」的源代码
代码结果 10,000
www.eeworm.com/read/211089/15187310
cpp maopao1.cpp
//通用冒泡排序法(下沉)maopao1.cpp
#include
#include
#include
#include
#define N 10
typedef int(*isgreat)(void *this_num,void *next_num);
void gensort(void *base,
www.eeworm.com/read/211089/15187324
cpp kuaisufa3.cpp
//快速排序法kuaisufa3.cpp
#include
#include
#include
#include
#define N 10
float b[N];
void output()
{for(int i=0;i
www.eeworm.com/read/211015/15188669
h 10_1.h
#ifndef ARRAY_BASED_SORTING_FUNCTIONS
#define ARRAY_BASED_SORTING_FUNCTIONS
//用直接插入排序法对数组A中的元素进行升序排列
template
void InsertionSort(T A[], int n)
{
int i, j;
T temp;
// 将
www.eeworm.com/read/210704/15193227
txt c语言库函数(v类字母).txt
函数名: vfprintf
功 能: 送格式化输出到一流中
用 法: int vfprintf(FILE *stream, char *format, va_list param);
程序例:
#include
#include
#include
FILE *fp;
in
www.eeworm.com/read/209433/15220097
c onedim.c
/* 使用选择法排序 */
# include
void main()
{
int i, j, min, temp;
/* 定义一个整型得一维数组 */
int array[10];
/* 输入数据 */
printf("Please input ten integer: \n");
for(i=0; i
www.eeworm.com/read/208972/15230145
txt c语言库函数(q类字母).txt
函数名: qsort
功 能: 使用快速排序例程进行排序
用 法: void qsort(void *base, int nelem, int width, int (*fcmp)());
程序例:
#include
#include
#include
int sort_function( co
www.eeworm.com/read/208972/15230146
txt c语言库函数(s类字母) - 3.txt
函数名: sound
功 能: 以指定频率打开PC扬声器
用 法: void sound(unsigned frequency);
程序例:
/* Emits a 7-Hz tone for 10 seconds.
Your PC may not be able to emit a 7-Hz tone. */
#include
www.eeworm.com/read/208972/15230149
txt c语言库函数(v类字母).txt
函数名: vfprintf
功 能: 送格式化输出到一流中
用 法: int vfprintf(FILE *stream, char *format, va_list param);
程序例:
#include
#include
#include
FILE *fp;
in
www.eeworm.com/read/208614/15242227
f90 ssearch.f90
! 顺序查找法范例
! By Perng 1997/8/31
program SEQUENTIAL_SEARCH_DEMO
implicit none
integer, parameter :: N=10
integer :: A(N)=(/6,2,8,4,0,9,3,5,1,7/) ! 存放数据组的类型
integer KEY ! 记录所要找的
www.eeworm.com/read/208614/15242229
f90 selsort.f90
! 选择排序法范例
! By Perng 1997/8/29
program SELECTION_SORT_DEMO
implicit none
integer, parameter :: N=10
integer :: A(N)=(/6,2,8,4,0,9,3,5,1,7/) ! 排序的数据
write(*,"('Source=>',10I3)") A
ca