                               Sums Management
                                 Version 1.0
                            Written by  Karl Tiller

Introduction
------------
This library will help you to use CRC and simple data sum encounting method
in your own programs. This library may be implemented in C++ programs that
will be compiled with Borland C++.

Note
----
Please transfer $7 on to `440300' bank account. If you can, please do
it, because I am the college student and need money for my education.
If you have found a bugs, *PlEaSe* ;) give me know how you can.

If you want the source code of the library, please call to me and we will
think about it together.
	;)

Riga, LV(Latvia)
Rupniecibas 1
Phone: (371) 732-5024(more preferable)
* Karl Tiller(tiller@hotmail.com)

Files
-----
CRC.H  ................  Header file for CRC only
Demo.CPP  .............  Little demonstration
Sums.H  ...............  Header file for decreasing of "include"-s
DataSum.H  ............  Header file for Data Sum only
CRC16.Dat  ............  16 CRC table
DirInfo  ..............  Description for networks, and BBS'
CRCCCITT.Dat  .........  CCITT CRC table
ReadMe  ...............  This file
Sums.Lib  .............  Library file

How to Use
----------
If you want to implement a part of library, you should define a _Use_Xxx flag,
where Xxx is the name of a library as DataSum or CRC. Example:

   // Here I would like to use all library
   //
   #define _Use_CRC
   #define _Use_CheckSum

CRC encounting
--------------
Here allowed to you selection of a CRC type(CCITT, 16). To select a type,
that you need, you should define a flag, for example:

   // Here I would like to use the 16 CRC method
   #undef _CRC_CCITT   // Because it is used as default

   // Or after ^, use CCITT
   #define _CRC_CCITT

Example:
~~~~~~~~~~~~~~
   CRC* CR = new CRC;

   if ( !CR)  // No memory...
      return;

   if ( !CR -> Read () )  // Problems with a table file...
      return;

   cout << "ABC CRC: " << CR -> Get ("ABC") << endl;
// This will give you CCITT CRC sum of^^^ string.
~~~~~~~~~~~~~~~~~~~~~~

Data Sum encounting
-------------------
If you want to use this method, please see the following example below:

unsigned Sum = GetDataSum ("HaHa");   // This will give you a checksum of
	// following -------^^^^ string.

Note
----
My "little" dream is have work at the Microsoft corporation.
