|
-
April 11th, 2010, 12:10 PM
#1
an array with char index
Hi guys,
I need some help to create an array with character indexing like this:
A B C D E ....
A 0 0 0 0 0
B 0 0 0 0 0
C 0 0 0 0 0
D 0 0 0 0 0
E 0 0 0 0 0
.
.
so that I can record the occurrence of a particular pair of letters. I tried to search on msdn but found no clue yet.
my guess is that I can use an alphabet enum to assign index to each letter. But the problem is that I cant use alphabet letter as textual data (ie string, char)
Can anybody give me a hint?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|