代码搜索:while

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

代码结果 10,000
www.eeworm.com/read/450999/7474046

pas ro22p108.pas

var s,t:string; v:array[1..100]of integer; i,j,max,p:integer; begin write('s='); readln(s); while(s[1]=' ') do delete (s,1,1); s:=s+' '; i:=1; while i
www.eeworm.com/read/450999/7474056

pas rostr9.pas

var s:string; n,i:integer; begin write('s=');readln(s); n:=length(s); while (s[1]=' ') and (n0) do delete(s,1,1); for i := 1 to n do while (s[i]=s[
www.eeworm.com/read/450999/7474057

pas test1.pas

var f:text; n,nr:integer; begin assign(f,'f1.txt'); reset(f); while not eof(f) do begin nr:=0 while not eoln(f) do
www.eeworm.com/read/450886/7475093

c 习题-1.c

#include "stdio.h" #define n 100 void RSh(int A[],int k)//把数组A的元素循环右移k位,只用一个辅助存储空间 { int i,p,j,temp,l; for(i=1;i
www.eeworm.com/read/450886/7475124

c 习题-14.c

//本程序只给出了算法思想 //读者可以自己完善本程序 void invert(linknode* head) { linknode *p,*q,*r; p=head; q=p->next; while(q!=NULL) { r=q->next; q->next=p; p=q; q=r; } head->next=NULL; head=
www.eeworm.com/read/450856/7475554

c led_01.c

//*本实验用于熟悉8位流水灯的使用 // 先轮流点亮8个灯,再依次点亮1,3,5,7 // 2.4.6.8个灯;接着同时点亮1,3,5,7;同时点亮 // 2,4,6,8.交替进行三次。 // 硬件要求: 拨码开关S0全部置ON //芯片配置字,看门狗关,上电延时开,掉电检测关 //低压编程关,加密,4M晶体HS振荡 //作者:龙爷。2009年01月11日 //------头 ...
www.eeworm.com/read/450798/7476662

c 16进制10进制.c

自己写一个转换函数不就行了? //返回16进制字符串s对应的整数值,遇到任何一个非法字符都返回-1。 int HexToDec(char *s) { char *p = s; //空串返回0。 if(*p == '\0') return 0; //忽略开头的'0'字符 while(*p == '0') p++; int dec = 0;
www.eeworm.com/read/450798/7476778

c 杨辉三角形.c

#include int c(x,y); main() { int i,j,n=13; printf("N="); while(n>12) scanf("%d",&n); for(i=0;i
www.eeworm.com/read/450798/7476779

c 桶排序.c

#include void comp(int k[],int m,int l) { int i=10,j=0,z=1,y=1,x,w,b[500][10]; for(w=0;w
www.eeworm.com/read/450709/7477688

txt output.txt

token序列(每个token形式为二元组): id ( ) { int id ; int id ; int id ; id = num ; id = num ; id = num ; while ( id relop id ) { id = id addop id ; id = id addop num ; id = id +( id addop num )/ id addop num ; i