getkey() function

hi there,

i have been trying to build a puzzle game in c language.
for this i need a function to input arrow keys.

here is my function which i got from on book.

union REGS i,o;
but it keeps on showing

error:storage size of i is unknown.
error:storage size of o is unknown.

I am doing in this codeblocks. So please share a suitable solution.

Maybe you should read more valuable literature. And also add some storage options in your code. Or you can try to ask for help from one of the coding sites or visit college essay writing service. They actually have great specialists and when you send them a piece of your code they will tell you what you need to change.