C++ sets class screenshot. free demo.   
 Example: Sound Forge • Top 1000
• Smart reviews
   
Search:   
     

Home > Software > C++ sets class 1.0 > Screenshot

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

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

Similar software:
  • JWizard 1.0 — Build professional "step by step" interface (ie. Wizard). In a few lines of code you create a powerful wizard to simplify complex tasks in your software systems.It provides a powerful framework for developing wizards that follow the Wizard97 spec
  • Cutlery Sets Rss Feed Creator 2.0 — Cutlery Sets Rss Feed Creator.Easily Create and find rss feeds to add to any site.Free yourself from having to manually update your web content with autopilot conten from RSS feeds.Easily search for RSS feeds related to your site and niche.
Find all software similar on C++ sets class 1.0

Similar smart reviews:
  • Auto Power-On Shut-Down. Set the Time. — No one can deny that it is really convenient to have a powered on computer when you are ready to work or not to get up early in the morning to shut it down when, for example, all downloads are complete. Auto Power-on Shut-down can make your life convenient and easy. Auto Power-on Shut-down is software that gives you…
  • Windows Inspection Tool Set — The quickest way to find out what’s going on in your Windows system is to take a look at the task manager. Finding out what software is installed on the computer takes opening the control panel, and to view active network connections you will need to refer to the firewall. That’s quite a bit…
Find all smart reviews similar on C++ sets class 1.0

Home > Software > C++ sets class 1.0 > Screenshot

See software by tags:
Sha1 implementation
Mce 2004
see also:
Free H263 to Zune 2nd generation Lite
BKF Recovery Utility
Poor Mans Credit Repair
See software by tags:
Password manager 2004 norton
Pilot game

Copyright © 2001—2016 3d2f
Concept:
Advertisement.