📄 nmax.cpp
字号:
#include <iostream>
using namespace std;
#include "Plate.h"
//---------------------------------------------------------------------------
int TPlate::count_nmax(){
for (int i = 0; i < (NEQ + 1); i++){
for (int j = 0; j < (MBAND + 1); j++){
if (S[i][j] != 0){
nmax = nmax + 1;
}
}
}
nmax = (nmax * 2) - NEQ + 1;
return nmax;
}
//---------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -