View Single Post
  #1 (permalink)  
Old 06-03-2010, 12:14 PM
Scottj996 Scottj996 is offline
Junior Member
 

Join Date: Jan 2010
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Scottj996 is on a distinguished road
Default Converting an array

Not sure if this is in the right place but heres my problem.

I have a char 2D array. I want to convert the values in this array to an int array using some form of dictionary.

for example
A = 1
B = 2
C = 3
D = 4

input array : {A,C,D,A,C,B}
output array:{1,3,4,1,3,2}

can anyone advise me on how to do this

Thanks
Scottj996
Reply With Quote Share this thread on Facebook
Sponsored Links
Java Training from DevelopIntelligence