why would you need to simulate having w pressed? why cant you do this?
or is this for a lets say menu screen or an effect in a quote.
#include <iostream>
#include <stdlib.h>
using namespace std;
string input;
int main()
{
while (true)
{
cin >> input;
cout << input << endl;
}
}
Last edited on