FileBuzz: Software Download
Find shareware, freeware downloads from thousands of software titles
C++ sets class

Program Name: C++ sets class

Published By: Abecedarical Systems

License Type: Freeware

Date Released: October 30, 2008


C++ sets class v1.0 Instant Download

C++ sets class Desciption:


Advertisements


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: unionThe 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 } intersectionThe 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 }exampleLet A = {1, 2, 3, 4} and B = {3, 4, 5, 6}. ThenA + B = {1, 2, 3, 4, 5, 6}A * B = {3, 4} complementIn 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 }exampleLet A = {1, 2, 3, 4} and B = {3, 4, 5, 6}. Then~A = {5, 6, 7, . . .}~B = {1, 2, 7, 8, 9, . . .} differenceThe 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}exampleLet A = {1, 2, 3, 4} and B = {3, 4, 5, 6}. ThenA - B = {1, 2}It can be shown that A - B = A * ~B. symmetric differenceThe 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: New release


License: Freeware | Price: $0.00 | Size: 1.3 MB | Downloads (795)

Platform: Windows 95

Related Software
New Downloads Top Downloads Top Search
A-PDF Scan and Split
Free Easy MP3 Joiner
DVDFab 3D Video Toolkit
Free Easy Ringtone Maker
Boxoft Image to PDF
Filler Pilot
Windows 8 Manager
Easy DVD Converter
iDisksoft File Recovery for Mac
Boxoft MKV Converter
ActyMac DutyWatch
NETGATE Internet Security
ArpCacheWatch
Handy Backup Online
Aiseesoft PDF Converter Ultimate
4Videosoft iPad Manager for Mac
AnyMP4 Audio Converter for Mac
CogeXP
Library Manager
Network Password Manager
Two Month Calendar Software
STPwiz
SharePoint AD Management Pack
A/V Cover Artist
Ablebits.com Ultimate Suite for Excel
Full DVD Ripper Free
Disk Drill
Free CUDA DVD Ripper
Network Inventory Advisor
Photo! Editor
Quick Slide Show
Amazon Reviewer Analysis Tool
Adobe Flash Player Debugger 11.3.300.250 Be
Free Flash Player
Bluetooth Driver Installer
English To Hindi and Hindi To English Converter Software
Adobe Flash Player for 64-bit Windows 11.3.300.250 Be
FREE English-Hindi Translator
Multi Launcher for Skype
Data Recovery Assist
Photo! 3D Album
Sondle File Recovery Assist
Sondle Virtual Desktop Assist
avast! Free Antivirus
AMITI Free Antivirus
Shoshi English to Bangla Dictionary
ASC Free English to English & Urdu Dictionary
ER English to Bengali Dictionary
Agama Web Menus
Sheels hindi to english dictionary
Free Oxford English To Tamil Dictionary
Zawgyi Myanmar Font For Android Mobile
Opera Mini
Free Photofunia Full Version
Ucbroser Download High Speed Of Internet
Adobe Flash Player
New Action Plus Voip
Ifone Platinum Pc To Phone
Bolt Browser Free Download For Pc
Uc Browser
Jumbo Ring Call Software
Free Hindi To English Translation
Free English To Marathi Translation
Free Mobile Antivirus
Samsung Intelli Studio
Sbi Free Bank Balance Check Account
Purble Place Game Free Download
Download Action Voip Plus Free Download
Mobeely Phone Dailer
Free Mobile Zenga Tv
Ucwap Browser
Purble Place
Free Cell Phone Tracking Software
Free Tecno Phone Whatsapp Messenger
Point Blank Game