TipGiver
Programmer
- Sep 1, 2005
- 1,863
- 0
- 0
Hi,
I would like some help on this, so i can start with.
I want to enter a number (2-9). Then ask the user to enter that number of strings. They can contain a-z, A-Z, 0-9 and symbols... anything. When the last is entered and hit the enter, i want to sort them and display to the screen alphabetically.
So far, if i use: ah=0ah and int 21h at the table: table db 10 db 00 db 00, i initialize a table (buffer) with max chars 10. So table[0] has 10, table[1] has the actual number of pressed chars from the keyboard, and from table[2] and on there is the string i entered.
Can you help me on this, or point an other way to do this?
Regards
I would like some help on this, so i can start with.
I want to enter a number (2-9). Then ask the user to enter that number of strings. They can contain a-z, A-Z, 0-9 and symbols... anything. When the last is entered and hit the enter, i want to sort them and display to the screen alphabetically.
So far, if i use: ah=0ah and int 21h at the table: table db 10 db 00 db 00, i initialize a table (buffer) with max chars 10. So table[0] has 10, table[1] has the actual number of pressed chars from the keyboard, and from table[2] and on there is the string i entered.
Can you help me on this, or point an other way to do this?
Regards