Home Contact Submit Search Link To Us
 
Categories:
Audio & Multimedia
Business
Communications
Desktop
Development
Active X
Basic/VB/VB.NET
C/C++/C#
Compilers & Interpreters
Components & Libraries
Debugging
Delphi
Help Tools
Install & Setup
Management &Distribution
Other
Source Editors
Education
Games & Entertainment
Graphic Apps
Home & Hobby
Network & Internet
Security & Privacy
Servers
System Utilities
Web Development

Home >> Development >> Help Tools >> C++ sets class 1.0
 

C++ sets class 1.0

C++ sets class 1.0 Screenshot
User Rating: Software Rating - 4 Rate this programm:
Downloads: 1826 Last Update: 15.01.2001
Price: $ 0 USD OS Support: Windows
License: Freeware File Size: 13,66 Kb
Publisher: HOMEPAGE
   
   

Abecedarical Systems: other programm

Almanac 1.0
Almanac 1.0 download, screenshot and review. Almanac calculates the equatorial coordinates of the sun, the moon, and the planets. From these it calculates the times of rise, set, and meridian transit for each of these celestial bodies. Additionally, it can calculate the times for twilight
Numerical Plotter 1.0
Numerical Plotter 1.0 download, screenshot and review. This source code enables you to plot the solutions to scientific and

engineering problems. The Visual C++ programming environment was chosen for

realization of numerical computation techniques.
Simulated Annealing Demonstration 1.0
Simulated Annealing Demonstration 1.0 download, screenshot and review. This is a Java application that demonstrates the Simulated Annealing algorithm with
an attack on the "traveling salesman" problem.

 
C++ sets class 1.0
The sets class can be used 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
 

Most Popular In This Category (Help Tools)

RustemSoft.Controls .NET assembly 1.04.85
RustemSoft.Controls .NET assembly 1.04.85 download, screenshot and review.RustemSoft.Controls .NET assembly is a .NET components software package specifically designed for .NET developers.
ActiveResize Control Lite 3.0
ActiveResize Control Lite 3.0 download, screenshot and review.VBGold ActiveResize Control makes your VB applications completely resolution-independent. It resizes all controls and grids on your form when the form is resized. ActiveResize can handle any control and grid (+ Sheridan). No need to write any code!
AlarIT Virtual Serial Driver .IP (AVSD.IP) 2.0
AlarIT Virtual Serial Driver .IP (AVSD.IP) 2.0 download, screenshot and review.AVSD.IP gives you the possibility to give the remote access to serial port via TCP/IP.
Help Generator for Microsoft Access 3.0
Help Generator for Microsoft Access 3.0 download, screenshot and review.Help Generator easily adds Help to your Microsoft Access applications. Generates all needed files such as HTML pages, images and help project files. Produces HTML Help, HTML Help web-based help and documentation in Word.
Mysql Data Manager 1.73
Mysql Data Manager 1.73 download, screenshot and review.Web based and platform independent Mysql GUI. Mysql Data Manager is written in Perl as a CGI script. Using browser based graphic interface, it provides a powerful tool to manage and maintenance Mysql databases online.
This section contains full information used for the programm "C++ sets class 1.0" also detailed description this software you can find on the author's site. Remember that use key generators, cracks, serial numbers, registration codes and keys is illegal.
Buying "C++ sets class 1.0" you are getting high quality safety software and guaranteed program support by Abecedarical Systems.
© www.topsoftgo.com, 2008. All Rights Reserved.