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.