代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/450575/7480862
h matrix_op.h
#include"stdio.h"
#include"time.h"
double Surplus(double A[],int m,int n) /*求矩阵行列式*/
{
int i,j,k,p,r;
double X,temp=1,temp1=1,s=0,s1=0;
if(n==2)
{for(i=0;i
www.eeworm.com/read/449088/7518415
c 7ngin.c
#include "math.h"
#include "stdlib.h"
#include "6gmiv.c"
int ngin(m,n,eps1,eps2,x,ka,f,s)
void (*f)(),(*s)();
int m,n,ka;
double eps1,eps2,x[];
{ int i,j,k,l,kk,jt;
doubl
www.eeworm.com/read/449088/7518431
c 7netn.c
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
#include "6gaus.c"
int netn(n,eps,t,h,x,k,f)
int n,k;
void (*f)();
double eps,t,h,x[];
{ int i,j,l;
double am,
www.eeworm.com/read/449088/7518502
c 12lplq.c
#include "stdlib.h"
#include "4rinv.c"
#include "4trmul.c"
int lplq(a,b,c,m,n,x)
int m,n;
double a[],b[],c[],x[];
{ int i,mn,k,j,l,*js;
double s,z,dd,y,*p,*d;
js=mall
www.eeworm.com/read/449088/7518550
c 6gmqr.c
#include "4maqr.c"
#include "stdlib.h"
int gmqr(a,m,n,b,q)
int m,n;
double a[],b[],q[];
{ int i,j;
double d,*c;
int maqr(double [],int,int,double []);
c=malloc(n*size
www.eeworm.com/read/449088/7518555
c 6grad.c
#include "4trmul.c"
#include "math.h"
#include "stdlib.h"
#include "stdio.h"
void grad(a,n,b,eps,x)
int n;
double a[],b[],x[],eps;
{ int i,k;
double *p,*r,*s,*q,alpha,bet
www.eeworm.com/read/449088/7518569
c 6bint.c
#include "4trmul.c"
#include "6gaus.c"
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
int bint(a,n,b,eps,x)
int n;
double a[],b[],x[],eps;
{ int i,j,k,kk;
do
www.eeworm.com/read/449088/7518586
c 10rkt2.c
#include "stdlib.h"
#include "math.h"
void rkt2(t,h,y,n,eps,f)
void (*f)();
int n;
double t,h,eps,y[];
{ int m,i,j,k;
double hh,p,dt,x,tt,q,a[4],*g,*b,*c,*d,*e;
g=mall
www.eeworm.com/read/449088/7518587
c 10tnr.c
#include "stdlib.h"
#include "math.h"
void tnr(t,h,n,y,f)
void (*f)();
int n;
double t,h,y[];
{ int j;
double s,aa,bb,dd,g,dy,dy1,*d,*p,*w,*q,*r;
w=malloc(4*n*sizeof(d