Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Alfabet matrix manipulation

Status
Not open for further replies.

hbutt

Programmer
Apr 15, 2003
35
GB
hi there, need some more help i've been trying to pick out letters from the alphabet matrix according to a random string entered by the user. ive been trying to look for the first letter from the user entered string, according to the line in the matrix from which letter starts and find a corresponding letter. e.g. string equals "HELLO" so i check down the first column from where "H" starts and find a letter in a graph type method. see below
|
v
ABCDEFGH
BCDEFGHA
CDEFGHAB
DEFGHABC
EFGHABCD
FGHABCDE
GHABCDEF
->HABCDEFG
^
|
H = starting point, along X axis and Y axis = C (on top row) so the corresponding letter will = B.

any help would be much appreciated.
thanx
hgsb

P.S. see the my previous message results to help understand the problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top