📄 smpclear.c
字号:
/* * Copyright (c) 1985 Thomas L. Quarles */ /* SMPclear(matrix) * clear the matrix to all zeroes */#include "prefix.h"#include <stdio.h>#include "SMPdefs.h"#include "suffix.h"RCSID("SMPclear.c $Revision: 1.1 $ on $Date: 91/04/02 11:48:24 $")voidSMPclear(matrix) register SMPmatrix *matrix;{ register SMPelement *here; register int i; for (i=0;i<=matrix->SMPsize;i++) { for (here = *(matrix->SMProwHead + i ); here != NULL ; here = here->SMProwNext) { here->SMPvalue = 0; } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -