+ 2
use by click on keyboard !!
in console application ( c++ , c#, java , python )... how i get keyboard do some functions in my program.. such as when i click on E button my program print "hello world!" or other ..
2 Réponses
+ 8
Maybe switching switch acording to the user input
+ 5
c++
#include <iostream.h>
void main()
{
char a;
cin>>a;
if(a=='e')
{
cout<<"Hello World";
}