lab9
This commit is contained in:
@@ -9,7 +9,7 @@ int main(){
|
||||
wchar_t massive[ROW][COL];
|
||||
for(int i = 0;i<ROW;i++)
|
||||
for(int j = 0;j<COL;j++)
|
||||
*(*(massive+i)+j)=L' ';
|
||||
*(*(massive+i)+j)=L'0';
|
||||
clear();
|
||||
helpMenu();
|
||||
printf("Input: ");
|
||||
@@ -19,20 +19,21 @@ int main(){
|
||||
helpMenu();printf("Input: ");}
|
||||
|
||||
else if(x==2 || (x>=21 && x<=29) || x==210){
|
||||
if(x==2){setMenu();flush();}
|
||||
if(x==2){setMenu();printf("Input: X");}
|
||||
else setMassive(x,massive);
|
||||
}
|
||||
|
||||
else if(x==3 || (x>=31 && x<=39) || (x>=310 && x<=320)){
|
||||
if(x==3) funcMenu();
|
||||
if(x==3) {funcMenu();printf("Input: ");}
|
||||
else func(x,massive);
|
||||
}
|
||||
|
||||
else if(x==4){
|
||||
seeMassive(massive);
|
||||
seeMassive(massive);printf("Input: ");
|
||||
}
|
||||
|
||||
else {printf("Input Error \"%d\" is undefind command.\nInput: ",x);}
|
||||
else {printf("Input Error \"%d\" is undefind command.\n",x);
|
||||
printf("\tTo get command list input: help\nInput: ");}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user