📄 allocate.c
字号:
#include "global.h"
int allocate()
{
int i,y,test=GOOD; /* allocate 2d-pointers */
if(!(f=(double ***)calloc(9,sizeof(double **))))
test=BAD;
for(i=0;i<9;i++)
{/* allocate row-pointers */
if(!(f[i]=(double **)calloc(max_y,sizeof(double *))))
test=BAD;/* allocate rows */
for(y=0;y<max_y;y++)
}
}
if(!(wall=(char **)calloc(max_y,sizeof(char *))))
test=BAD;
for(y=0;y<max_y;y++)
{
i
return(GOOD);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -