arrow keys function

can anyone please tell me what function to use if i want move a quad using the arrow keys.

No, because opengl does not have any support for keyboard handling, but if you give some information about the platform you use to develop your applications (win32 api, glut, libx, Qt, fltk, Fox, Gtk, MFC…) it will be much easier to give you some help.