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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. helloman

    frequency table

    Thanks AmkG, you don't know how much you've helped me. But here's my next problem. I know I need to read all the characters in the input file, but how would I store it? ex. ABCDEADASDA Character - Frequency A - 4 B - 1 C - 1 D - 3 etc... I know I'm suppose to create an array, ex: BUFFER DB...
  2. helloman

    Hello, I have gotten my program to

    Hello, I have gotten my program to do the following: 1) Read in the command line ex. compress filename1 filename2 My program opens filename1 without error. Creates Filename2 without error. Only problem is, why does it have $ always as the first letter of the output filename? ex. If the user...
  3. helloman

    frequency table

    Thanks, a few other questions have came up. I want to get a user input and output by using the dos command line. After I get the filenames, I will open them using INT21h. ex. compress FILENAME1 FILENAME2 I understand the FILENAME1 would be located at 80H and FILENAME2 would be located in...
  4. helloman

    frequency table

    AmkG, thanks for your quick reply. I understand that it will have something to do with a tree...maybe something that might resemble a binary search tree. But how will I create such a tree in Assembly? And I understand that I have to create a counter for each character, but how will I do that...
  5. helloman

    frequency table

    I am a beginner. I have to create a compression program using the huffman algorithm. My question ism before that I must create a "frequency table." That would be used to compare how many times characters are used when reading from a file input. How would I approach in creating that table?

Part and Inventory Search

Back
Top