All pastes #934682 Raw Edit

Untitled

public c v1 · immutable
·published 2008-03-09 00:20 UTC
rendered paste body
void rollmenu(const char **items, char size, char *command){	char i;	*command=0;	for(i=0;i<size;i++)	{		puts(items);		choice=getchar();		switch(choice)		{		case '1':			*command++;			return;		case '2':			*command+=2;			return;		}		items++;	}}