Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

"Down Pillow" Control Code Creation: Step 6 of 88
Creation of the "Down Pillow"
Compression Algorithm Control
Codes:  Step 6 of 88

I am posting a series of steps
to comp.compression so that
there can be an external record
of my efforts to create a
sucessful copy of control codes
to use in the "Down Pillow"
compression algorithm as
discussed earlier this year.

Please disregard these posts
if you value your time; time
is money of course.  You are
warned up front, so don't
accuse me of wasting your time.
Concern yourself only if I am
sucessful.  If that time comes
you will have access to everything
you need to know in the archive.
But, if you are like me and love
wasting your time on frivolous
pursuits play along with me if
you dare.

Erik T. Evenson


Step 6 of 88

Create an ascii file which lists
in a single column of eight
character width, right margin
alignment, the frequency of
numbers 0 through 16, based
on the binomial factoring
tree of index 16.

Name the output file "DPC06_01.DAT"


The Qbasic program I use is
as follows:

----------------------------
REM program freqmap.bas
REM This program creates a frequency
'   maping file based on the binomial
'   factoring tree based on 16th index.

OPEN "O", #1, "DPC06_01.DAT"

FOR a = 0 TO 16
READ c
LET a1$ = SPACE$(8)
LET a$ = STR$(a)
RSET a1$ = a$
FOR b = 1 TO c
PRINT #1, a1$
NEXT b
NEXT a
END

DATA 1,16,120,560,1820,4368,8008
DATA 11440,12870,11440,8008,4368
DATA 1820,560,120,16,1

-------------------------------

More to follow.

Report this thread to moderator Post Follow-up to this message
Old Post
Plato777
09-12-04 08:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Compression archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:10 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.