how do i captuer the Up arrow key

i have this, but i dont know how to capture the UP arrow key, please help me
this is C++

void myKeyboard(unsigned char c, int x, int y)
{
	switch (c)
	{
		case 'q':
			exit(0);
			break;
		case '[':
				changePoly(0,.2);		
				break;
		case ']':
				changePoly(0,-.2);		
				break;
		case ',':
				changePoly(1,.001);		
				break;
		case '.':
				changePoly(1,-.001);		
				break;
		case 's':
			break;
		default:
			break;
	}

}

This is not really an OpenGL question and you don’t mention your OS or other details. I think this is probably the wrong forum.