View Single Post
Old Apr 14th, 2007, 10:44 AM   #3
RGCaldas
Newbie
 
Join Date: Nov 2006
Posts: 5
Rep Power: 0 RGCaldas is on a distinguished road
But you can use something like this

char string[][] = {{"House"},{"Car"},{"City"}};
int op;

op = [funtion to get option]
switch (op){
case 0: ... House
case 1: ... Car
case 2: ... City
}


Hope it helps
RGCaldas is offline   Reply With Quote