I am trying to declare an array of structures of type INPUT like this and I get the following errors:
error C2065: 'INPUT' : undeclared identifierCode:#include <windows.h> INPUT a;
error C2146: syntax error : missing ';' before identifier 'a'
error C2065: 'a' : undeclared identifier
error C2109: subscript requires array or pointer type
I am linking the program to User32.lib when compiling and I don't see what I can possibily be doing wrong. Help please. Thanks.