- Product Information
- Discussion (0)
C++ sets class 1.0
- Name:C++ sets class
- License:Freeware
- Developer:Abecedarical Systems
- Downloads:104
- Rating:2 / 5
- OS:Windows 9X
- Size:13 KB
- D.M.C.A.
- Download >
C++ sets class 1.0
C++ sets class 1.0 Description:
You can use the sets class to perform set operations in your programs. It represents set elements as bits in a private array of unsigned long integers. The array size is a defined constant which can be changed to suit your application.
The sets class supports the following set operations by means of C++ operator overloading:
union
The union of two sets A, B is the set of all elements which belong to either A or B. In the sets class, the symbol + is the binary union operator:
A + B = {x: x is in A -or- x is in B }
intersection
The intersection of two sets A, B is the set of all elements which belong to both A and B. The symbol * is the binary intersection operator:
A * B = {x: x is in A -and- x is in B }
example
Let A = {1, 2, 3, 4} and B = {3, 4, 5, 6}. Then
A + B = {1, 2, 3, 4, 5, 6}
A * B = {3, 4}
complement
In set theory, sets are subsets of a fixed universal set U. In the sets class, U is the set of elements numbered from 1 to MAX_WORDS * WORD_SIZE. In the class declaration file below, the following definitions are made:
#define MAX_WORDS 2
#define WORD_SIZE ( 8 * sizeof( unsigned long ) )
These parameters make the range of U, 1 to 64 in sets. To increase or decrease the size of U, change the defined value of MAX_WORDS.
The complement of set A is the set of elements belonging to U but not belonging to A. The symbol ~ is the unary complement operator:
~A = {x: x is in U, x is not in A }
example
Let A = {1, 2, 3, 4} and B = {3, 4, 5, 6}. Then
~A = {5, 6, 7, . . .}
~B = {1, 2, 7, 8, 9, . . .}
difference
The difference of two sets A, B is the set of all elements which belong to A less those in B. The symbol - is the binary difference operator:
A - B = {x: x is in A, x is not in B}
example
Let A = {1, 2, 3, 4} and B = {3, 4, 5, 6}. Then
A - B = {1, 2}
It can be shown that A - B = A * ~B.
symmetric difference
The symmetric difference of two sets A, B is the set of all elements which belong to A or to B, but not both.
C++ sets class 1.0 Requirements:
· C/C++ compiler
Related searches:
C++ sets class security information
You cannot download any crack or serial number for C++ sets class on this page. Every software that you are able to download on our site is legal. There is no crack, serial number, hack or activation key for C++ sets class present here. Our collection also doesn't contain any keygens, because keygen programs are being used in illegal ways which we do not support. All software that you can find here is freely downloadable and legal.
C++ sets class installation package is prepared to be downloaded from our fast download servers. It is checked for possible viruses and is proven to be 100% clean and safe. Various leading antiviruses have been used to test C++ sets class, if it contains any viruses. No infections have been found and downloading C++ sets class is completelly problem free because of that reason. Our experts on malware detection tested C++ sets class with various spyware and malware detection programs, including fyxm.net custom malware and spyware detection, and absolutelly no malware or spyware was found in C++ sets class.
All software that you can find on our servers, including C++ sets class, is either freeware, shareware or open-source, some of the software packages are demo, trial or patch versions and if possible (public domain licence), we also host official full versions of software.
Because we want to be one of the fastest download sites on the web, we host all the software including C++ sets class on our servers. You cannot find here any torrents or download links that would lead you to dangerous sites.
Fyxm.net does support free software, however we do not support warez or illegal downloads. Warez is harming producers of the software.
Enjoy!
Rate C++ sets class 1.0!
Similar Programs | License | Size | Rating | |
---|---|---|---|---|
CSocketServer Class | GPL | 48 KB | 2 / 5 | |
Excel Class for .NET 1.0 | Shareware | 3.7 MB | 2 / 5 | |
Class Generator | GPL | 70 KB | 2 / 5 | |
Excel Class .NET 1.0 | Shareware | 3.7 MB | 2 / 5 | |
CMemPool Class | Freeware | 7 KB | 2 / 5 |
Related Programs
- 1
A-class Organizer
Office tools > Diary/Organizers/Calendar256x - 2
Class Generator
Coding > Other Coding Files183x - 3
PDF Maker Class .NET
Coding > Components & Libraries169x - 4
Class Encrypt
Security apps > Encrypting141x - 5
Martial Class
Others > Home & Education135x - 6
TWAVFile Class
Coding > Components & Libraries102x - 7
CProcess Class
Coding > Components & Libraries91x - 8
CCmdLine Class
Coding > Components & Libraries90x - 9
MPEGPlus Class
Coding > Components & Libraries90x - 10
1st Class GradeBook
Others > Finances & Business79x