代码搜索:2
找到约 10,000 项符合「2」的源代码
代码结果 10,000
www.eeworm.com/read/180558/9302655
c algo2-2.c
/* algo2-2.c 实现算法2.2的程序 */
#include"c1.h"
typedef int ElemType;
#include"c2-1.h"
#include"bo2-1.c"
void MergeList(SqList La,SqList Lb,SqList *Lc) /* 算法2.2 */
{ /* 已知线性表La和Lb中的数据元素按值非递减排
www.eeworm.com/read/180558/9302658
c bo2-2.c
/* bo2-2.c 单链表线性表(存储结构由c2-2.h定义)的基本操作(12个) */
Status InitList(LinkList *L)
{ /* 操作结果:构造一个空的线性表L */
*L=(LinkList)malloc(sizeof(struct LNode)); /* 产生头结点,并使L指向此头结点 */
if(!*L) /* 存储分配失败 */
www.eeworm.com/read/180558/9302681
c main2-2.c
/* main2-2.c 检验bo2-2.c的主程序(与main2-1.c很像) */
#include"c1.h"
typedef int ElemType;
#include"c2-2.h" /* 与main2-1.c不同 */
#include"bo2-2.c" /* 与main2-1.c不同 */
Status comp(ElemType c1,ElemType
www.eeworm.com/read/180558/9302689
h c2-2.h
/* c2-2.h 线性表的单链表存储结构 */
struct LNode
{
ElemType data;
struct LNode *next;
};
typedef struct LNode *LinkList; /* 另一种定义LinkList的方法 */
www.eeworm.com/read/180494/9305236
m example2_2.m
%首先编写f(x)的.m文件
function f = myfun(x)
f=sin(x)+3;
%然后调用函数fminsearch
x0=2 %起始点
[x , fval]=fminsearch(@myfun, x0);
www.eeworm.com/read/376593/9312872
m examp2_2.m
A=[1,2,3; 4 5,6; 7,8 0]
A=[1,2,3; 4 5,6; 7,8 0]; % 不显示结果,但进行赋值
www.eeworm.com/read/180268/9314098
m fig2_2.m
% This program can be used tore-produce Figure 2.2 of text
clear all
close all
xg = linspace(-6,6,1500); % randowm variable between -4 and 4
xr = linspace(0,6,1500); % randowm variable between 0 a
www.eeworm.com/read/376503/9316112
rc2 controlarraysdemo2.rc2
//
// CONTROLARRAYSDEMO2.RC2 - resources Microsoft Visual C++ does not edit directly
//
#ifdef APSTUDIO_INVOKED
#error this file is not editable by Microsoft Visual C++
#endif //APSTUDIO_INVOK
www.eeworm.com/read/180141/9318378
c 2-2-1.c
www.eeworm.com/read/180141/9318380
c 2-2-4.c
/*中国系统分析员顾问团,http://www.csai.cn*/
/*程序员下午考试指南书籍源码*/
#include
#define N 100
int a[N][N];
void main(){
int row ,col ,max ,min ,n;
/*输入合法 n (