代码搜索结果
找到约 10,000 项符合
8 的代码
8-8.c
#include"dos.h"
#include"conio.h"
int SetDate()
{
union REGS inregs,outregs;
inregs.h.ah=0x2B;
inregs.x.cx=1983;
inregs.h.dh=8;
inregs.h.dl=14;
intdos(&inregs,&outregs);
return outreg
8_8.cpp
#include
float fact(int n)
{ float k;int i;
if(n==1||n==0) k=1.0;
else k=n*fact(n-1);
return(k);
}
main()
{ int n;
scanf("%d",&n);
printf("%f",fact(n));
}
8-8.txt
/* 范例:8-8 */
#include
void arith(int *k) /* 传址方式 */
{
*k=*k+1;
}
/* 函数arith()在传递参数时,int *k所执行的动作为 int *k;
k = &i;
,也就是定义指针变量k,并把变量i的地址赋给指针变量k */
8-8.txt
/* 范例:8-8 */
#include
void arith(int *k) /* 传址方式 */
{
*k=*k+1;
}
/* 函数arith()在传递参数时,int *k所执行的动作为 int *k;
k = &i;
,也就是定义指针变量k,并把变量i的地址赋给指针变量k */
8-8.c
#include"dos.h"
#include"conio.h"
int SetDate()
{
union REGS inregs,outregs;
inregs.h.ah=0x2B;
inregs.x.cx=1983;
inregs.h.dh=8;
inregs.h.dl=14;
intdos(&inregs,&outregs);
return outreg
8_8.cpp
//8_8
#include
#include
#include
void transpose(int* a, int size); //降维处理
void main()
{
int A[5][5];
randomize();
for(int i=0; i
8_8.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################