how can i create the byte and word data types.
Im using a header which requires word and byte data types for execution of data. where as my compiler dun accept those types. how can i implement them?

thank you in advance.


If you are using ms-windows operating system you can include windows.h which already defined BYTE and WORD. If not then you can define them yourself like this

typedef unsigned char BYTE;
typedef unsigned short WORD;