代码搜索:malloc

找到约 10,000 项符合「malloc」的源代码

代码结果 10,000
www.eeworm.com/read/438810/7726275

c 10gil.c

#include "stdlib.h" #include "math.h" void gil(t,h,y,n,eps,q,f) void (*f)(); int n; double t,h,eps,y[],q[]; { int i,j,k,m,ii; double x,p,hh,r,s,t0,dt,qq,*d,*u,*v,*g; s
www.eeworm.com/read/438810/7726350

c 4ssgj.c

#include "stdlib.h" #include "math.h" #include "stdio.h" int ssgj(a,n) int n; double a[]; { int i,j,k,m; double w,g,*b; b=malloc(n*sizeof(double)); for (k=0; k
www.eeworm.com/read/438810/7726357

c 9mtml.c

#include "stdlib.h" #include "math.h" #include "3rnd1.c" double mtml(n,a,b,f) int n; double a[],b[],(*f)(); { int m,i; double r,s,d,*x; x=malloc(n*sizeof(double));
www.eeworm.com/read/438810/7726426

c 15topo.c

#include "stdlib.h" void topo(n,r,m,p) int n,m,p[],r[]; { int top,i,j,k,t,*s,*g,*f; struct node { int suc; int next; } *q; q=(struct node *)malloc(m*sizeo
www.eeworm.com/read/438810/7726445

c 13lman.c

#include "stdlib.h" #include "4rinv.c" int lman(n,m,k,f,q,r,h,y,x,p,g) int n,m,k; double f[],q[],r[],h[],y[],x[],p[],g[]; { int i,j,kk,ii,l,jj,js; double *e,*a,*b; e=mallo
www.eeworm.com/read/438490/7730839

cpp fft.cpp

#include "math.h" #include "stdio.h" #include "malloc.h" #include "time.h" #define PI 3.1415926 int N,jie=0; //全局变量N及N的阶数 struct complex //复数结构体 { double real; d
www.eeworm.com/read/438348/7732559

txt k-c.txt

k-均值聚类算法c语言版 #include #include #define TRUE 1 #define FALSE 0 int N;//数据个数 int K;//集合个数 int * CenterIndex;//初始化质心数组的索引 double * Center;//质心集合 dou
www.eeworm.com/read/438315/7732821

cpp 1.cpp

#include #include void main() { int n,i; double *x,*y,*u,*v,*d,f0,fn,a,*M,*b; printf("输入节点个数n:"); scanf("%d",&n); x=(double *)malloc(n*sizeof(double)); y=(double *)ma
www.eeworm.com/read/438315/7732867

cpp 1.cpp

#include #include double fx(double x,double y)//已知一阶方程 { return (y-2*x/y); } void main() { double h,*y,*x,*f,K[4],yp,fp; int n,i; printf("输入步长h 步数n:"); scanf("%lf%d"
www.eeworm.com/read/437483/7747411

txt kf.txt

***************************************** ****** 卡尔曼滤波器算法实现 (C) ********* **************************************/ #include "stdlib.h" int klman(n,m,k,f,q,r,h,y,x,p,g)