This commit is contained in:
2025-11-23 02:17:17 +07:00
parent ca035a9c08
commit 07921674c9
15 changed files with 1102 additions and 391 deletions
+14 -12
View File
@@ -3,33 +3,35 @@ int chooseMassiveInput();
int main(){
int x;
setlocale(LC_ALL, "en_US.UTF-8");
wchar_t massive[ROW][COL];
//massive data
int massive[ROW][COL];
for(int i = 0;i<ROW;i++)
for(int j = 0;j<COL;j++)
*(*(massive+i)+j)=L'0';
*(*(massive+i)+j)='0';
//
clear();
helpMenu();
printf("Input: ");
inp
while((x=mainget())!=-1){
if(x==1){
helpMenu();printf("Input: ");}
helpMenu();inp;}
else if(x==2 || (x>=21 && x<=29) || x==210){
if(x==2){setMenu();printf("Input: X");}
else setMassive(x,massive);
if(x==2){setMenu();inp;}
else {setMassive(x,massive);flush();}
}
else if(x==3 || (x>=31 && x<=39) || (x>=310 && x<=320)){
if(x==3) {funcMenu();printf("Input: ");}
else if(x==3 || (x>=31 && x<=39) || x==310){
if(x==3) {funcMenu();inp;}
else func(x,massive);
}
else if((x>=311)&&(x<=320)){func2(x,massive);}
else if(x==4){
seeMassive(massive);printf("Input: ");
seeMassive(massive);inp;
}
else {printf("Input Error \"%d\" is undefind command.\n",x);