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.

regards,
Shrikrishna

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;
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.