I worked on something like this earlier for a "Mists of Avalon" thing. Bacially, you display all your options, right? Like so:
Code:
Items ---
--------------------
Elixir
Heal
DP Up
MP Up
Level Up
Next, using printf() and gotoxy, you would show the first location of the arrow thing.
Code:
Items ---
--------------------
Elixir <
Heal
DP Up
MP Up
Level Up
Finally you'd just put in a loopand check to see if the arrow keys or enter is pressed:
Code:
while (keyPressed!=K_ENTER) // Assume K_ENTER has already been defined
{
if (keyPressed == UP)
{
gotoxy(x,y); // where x and y are the coordinates of the item
printf("<");
}
...
}
Hope that helps!
Brendan