AceTeemo 6 years ago
parent 8fc0b1d5cb
commit ea6b684499

@ -209,3 +209,33 @@ void Print(char d)
case 'D':case 'd':right();break; case 'D':case 'd':right();break;
} }
} }
/*¶¨Î»ąâ±ę*/
void xy(){
//»ńȡżŘÖĆ̨»şłĺÇřľä±ú
HANDLE ConsoleHandle = GetStdHandle(STD_OUTPUT_HANDLE);
//ÉčÖĂąâ±ęλÖĂ
SetConsoleCursorPosition(ConsoleHandle, coord);
}
/*Ňţ˛ŘĆÁĻָŐë */
void HideCursor() {
CONSOLE_CURSOR_INFO cursor_info = { 1,0 };
SetConsoleCursorInfo(GetStdHandle(STD_OUTPUT_HANDLE),&cursor_info);
}
void win()
{
system("cls");
system("color 73");
system("mode con cols=38 lines=13");
printf("\n ¨€ ¨€ ¨€¨€¨€¨€¨€ ¨€ ¨€ ");
printf("\n ¨€ ¨€ ¨€ ¨€ ¨€ ¨€ ");
printf("\n ¨€ ¨€ ¨€ ¨€ ¨€ ");
printf("\n ¨€ ¨€ ¨€ ¨€ ¨€ ");
printf("\n ¨€ ¨€¨€¨€¨€¨€ ¨€¨€¨€¨€¨€ \n");
printf("\n ¨€ ¨€ ¨€ ¨€¨€¨€ ¨€ ¨€ ");
printf("\n ¨€ ¨€ ¨€ ¨€ ¨€¨€ ¨€ ");
printf("\n ¨€ ¨€ ¨€ ¨€ ¨€ ¨€ ¨€ ");
printf("\n ¨€¨€ ¨€¨€ ¨€ ¨€ ¨€¨€ ");
printf("\n ¨€ ¨€ ¨€¨€¨€ ¨€ ¨€ ");
system("pause");
}
Loading…
Cancel
Save