I'm using Dev-C++ 4.9.9.1 on Windows XP Home Edition, and I am wondering if there is a way to see if the mouse and the keyboard are plugged into the computer. Like:
or something along those lines. Thanks.Code:if( !MousePluggedIn ) { std::cout << "No mouse!"; } else if( !KeyboardPluggedIn ) { std::cout << "No keyboard!"; }
- SirCrono6