代码搜索结果

找到约 10,000 项符合 6 的代码

6-6.htm

drag = 0 move = 0 function init() { window.document.onmousemove = mouseMove window.document.onmousedown = mouseDown window.do

6-6.cpp

#include #include void main() { int s; float n,t,pi; t=1;pi=0;n=1.0;s=1; while(fabs(t)>1e-6) {pi=pi+t; n=n+2; s=-s; t=s/n; } pi=pi*4; printf("pi=%10.6f\n",pi);

6_6.c

/* ======================================== */ /* 程式实例: 6_6.c */ /* 应用递归来解 N 皇后问题 */ /* 数字 1: 表示是放置皇后 */ /* 数字 0: 表示没有放置

6-6.txt

/* 范例:6-6 */ #include #include int main() { char Mychar; Mychar = 'y'; /* 因为前测式循环必须是先判断条件,所以Mychar先给一 个条件成立的值 */ printf("按n则离开,按任何一键不离开\n");

6-6.htm

drag = 0 move = 0 function init() { window.document.onmousemove = mouseMove window.document.onmousedown = mouseDown window.do