C++ sets class 1.0
C/C++ sets class
| Details |
View: screenshot
Size: 13.66 KB
License: Freeware
OS: Win95
Price: $0
Publisher: Abecedarical Systems
|
Date added: 9/17/2006
Date updated: 9/17/2006
Total Downloads: 214
Downloads - Last Week: 0
|
|
C++ sets class 1.0 Publisher's description
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, B is the set of all elements which belong to A or to B, but not both.
Requirements: C/C++ compiler
What's new in this version: New release
|
| Antivirus information |
| Download3K has downloaded and tested C++ sets class on 1 Aug 2007 with some of Today's best antivirus engines and you can find below, for your convenience, the scan results: |
| Bitdefender: |
Clean |
| NOD 32: |
Clean |
| Kaspersky: |
Clean |
|
| Complete antivirus report |
|
|
|
| Related press releases |
SolSuite 2006's NEW v6.8 is Now Available for Download! (August 10, 2006) [2006-08-08 08:21:26]
SolSuite 2006's New features (Version 6.8)
New Card Size
SolSuite 2006 has a new "standard" card size, which is much larger than previous versions. Numbers and suits are easier to see, and images sh...
|
|
CyberMatrix Class Scheduler version 5 released! [2005-12-22 00:00:00]
Press Release
For Immediate Release 2005-12-22
Contact: Mike Fullerton (403) 258-0585
CyberMatrix Class Scheduler version 5 released!
CyberMatrix Corporation has released version 5.00 of CyberMatrix...
|
|
LinuxCertified, Inc. announces a new course on Perl for developers and administr... [2004-05-01 00:00:00]
This day long workshop features a practical and extensive introduction to Perl, with practical lab exercises.
San Jose, CA March 31, 2003 LinuxCertified, Inc. (www.linuxcertified.com) today announc...
|
|
CTI Group Granted Patent Approval for SmartRecord IP; Operator Oriented VoIP Cal... [2009-07-22 02:58:30]
CTI Group (Holdings), Inc. (OTCBB:CTIG), an international provider of electronic invoice processing and management (EIM), enterprise communications management software and services solutions, and carr...
|
|
One more open source network library for .NET platform? [2005-11-14 00:00:00]
Contact: Philip Gootov
BytesRoad Software offers a Free .NET network library
That's right! One more free network library for the .NET platform named BytesRoad.NetSuit has been released. The core com...
|
|
Conoa, Inc. Announces New Versions of Its Product Lines [2004-09-07 00:00:00]
Conoa, Inc. announces the release and immediate availability of new versions of its Conoa 3D and Conoa EasyShapes plug-in sets for video compositing and motion graphics. Conoa 3D is now updated to ver...
|
|
iVolution Technologies Announces the Arrival of Their Applied Penetration Testin... [2004-10-26 00:00:00]
This in-depth class is the only Penetration Testing class available that completely covers the processes and procedures, tools and techniques, and technical skills required by security testers and sec...
|
|
JCODER PRO version 1.0.0 is now available [2008-09-10 04:27:21]
By PremiumSoft. JCODER is a lightweight and powerful JAVA Integrated Development Environment (IDE) for developers to create, navigate, debug and manage codes quickly and accurately. With JCODER Projec...
|
|
Video Server Revolutionizes On-Demand Education [2003-03-06 00:00:00]
AXONIX LAUNCHES VIDEO-ON-DEMAND SERVER APPLIANCE The first affordable all-in-one video server revolutionizes high quality VOD [Video-On-Demand for education and training.
March 6th, 2003 Informati...
|
|
Four Information Technology Success Factors Drive 5X Revenue Growth for Best in ... [2003-12-09 00:00:00]
Recent research from the InterUnity Group captures four Critical Success Factors employed by Best in Class Companies to maximize corporate performance
Concord, MA (December 9, 2003) InterUnity Grou...
|
|
|
|
| XT Typing Tutor |
Typing tutor inspired by guitar method. It teaches you how to use ALL YOUR fingers in order to get some true typing speed. It also shows you EXACTLY how to PLACE your FINGERS BEFORE TYPING parts of words (fingers are drawn on a virtual keyboard). |
|
| The Collectors Crown |
A database for discerning collectors of Antiques, Art, Books, Ceramics, Carnival Glass, Coins, Gems, Genealogy, Maps, Notes, Stamps, Software, Videos, CD's, DVD's or Photos. |
|
| Guitar Chords |
Guitar Chords is a free software, with over 40000 basic and advance guitar chords. Nice and simple environment. TAB notation of the chords. No confusing graphics or images. |
|
| Wondershare QuizCreator |
QuizCreator is a robust quiz maker designed for making highly customized Flash quizzes for corporate training and online education. The quizzes can be published to Flash, SCORM, or a free quiz management system Wondershare provides. |
|
| Fox Movie Manager |
With automatic info downloads, loan tracking, and several other features, the Fox Movie Manager will give you everything you need to get your movie collection under control. Innovative features allow you instantly know the status of your collection. |
|
| WinFlash Educator |
Award-winning Flashcard Study and Testing System - Memorize study material fast! Create reusable decks, print flashcards, study and track your progress with this leading-edge learning tool! Powerful multimedia capabilities. Easy to learn and use. |
|
| Annotated Chinese Reader |
Click to Display Annotated Chinese Stream. Online Chinese-English dictionary.
Convenient tool for reading Chinese text. HanZi definition, parts decomposition, stroke order, pronounciation - All is just 2 clicks away! Also used to Listen to web. |
|
|