代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/223935/14611973
txt test1.txt
program p;
var a,b:integer;
c:array[1..7] of integer;{有数组的情况}
procedure p1;{分程序}
begin
a:=4;{赋值}
while a
www.eeworm.com/read/223915/14612610
_c main._c
#include "main.h"
void main(void)
{
can_init ();
SEI();
while(1)
{
NOP();
}
}
www.eeworm.com/read/223835/14615964
c linklist.c
#include
#include
int main ()
{
struct node
{
char name [30];
struct node *nextperson;
};
struct node m1 = {"Chris", NULL};
// note - could not have pointer to m2 as m2 not de
www.eeworm.com/read/223822/14616442
txt jzzh.txt
http://forum.ikaka.com/
刚看到有人贴出进制转换需要调用库函数,我想还是自己写一个任意进制之间的转换,该程序在转换成负进制的时候,被转换的数据只能是10进制的,正数转换不存在,但要首先在输入第一个基数的时候指明你输入的数据是几进制,该程序在c任何c语言编译器下面调试通过
#include
#include
main()
{
...
www.eeworm.com/read/223663/14620700
c 16hbsh.c
#include "string.h"
int hbsh(p,n,a,b,m)
int n,*m;
char a[],b[],*p[];
{ int i,j,k;
i=1; j=n;
while (i=0)&&(strcmp(p[k-1
www.eeworm.com/read/223663/14620786
c 12maxn.c
#include "math.h"
void maxn(x,n,eps,k,js,ff)
int n,k,js[];
double eps,x[],(*ff)();
{ int i,j,m,l,jt,il;
double y[10],b[10],p,z,t,h1,h2,f,dx;
js[0]=0; jt=1; h2=0.0;
while
www.eeworm.com/read/223663/14620788
c 12max1.c
#include "math.h"
void max1(x,eps,k,js,f)
void (*f)();
int k,js[2];
double eps,x[2];
{ int i,j,m,jt;
double xx,h1,h2,dx,y[10],b[10],z[2];
js[0]=0; jt=1; h2=0.0;
whil
www.eeworm.com/read/223663/14621130
c 7dhrt.c
#include "math.h"
int dhrt(a,b,h,eps,x,m,f)
int m;
double a,b,h,eps,x[],(*f)();
{ int n,js;
double z,y,z1,y1,z0,y0;
n=0; z=a; y=(*f)(z);
while ((z
www.eeworm.com/read/223663/14621225
c 15cqck.c
#include "15cbub.c"
void cqck(p,n)
int n;
char p[];
{ int m,i0,*i;
char *s;
void csplit();
i=&i0;
if (n>10)
{ csplit(p,n,i);
m=i0;
cqck(p,m
www.eeworm.com/read/223663/14621240
c 15ihap.c
void ihap(p,n)
int n,p[];
{ int i,mm,t;
void isift();
mm=n/2;
for (i=mm-1; i>=0; i--)
isift(p,i,n-1);
for (i=n-1; i>=1; i--)
{ t=p[0]; p[0]=p[i]; p[i]=t;