Arrrrgh C++ help

Miscellaneous Forums/General Discussion/Arrrrgh C++ help

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

// test2.cpp : Defines the entry point for the console application.
//

#define _WIN32_WINNT 0x0501
#include <windows.h>
#include <stdout.h>
#include <stdio.h>
#include <iostream.h>
#include "stdafx.h"

using namespace std;

int main()
{
    INPUT* x;
   //x=new struct tagINPUT;
   //printf(sizeof(struct tagINPUT));
   printf("hello");
   return 0;
}


The piece of coe above keeps complaining INPUT is an undefined identifier - even though it is defined in winuser.h (pulled in with windows.h). Any ideas why it's not working appreciated.