Untitled
public cpp v1 · immutable#include <conio.h>#include <iostream>using namespace std;int main(){ int bla=0; while(bla!=13) { bla=getch(); system("cls"); if(bla==0 || bla==224) { bla=getch(); } switch(bla) { case 72: cout << "\x18\n"; break; case 80: cout << "\x19\n"; break; case 75: cout << "\x1B\n"; break; case 77: cout << "\x1A\n"; break; default: cout << "\x01"; } } return 0;}