![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Rate Thread |
|
#1
|
||||
|
||||
Finding the Union, Intersection, Difference and SymmetricGiven Below is my code for finding the Union , Intersection , Difference and Symetric but every time when i run my program i gets the forllwing
Code:
and i want this sentence to be executed when the values of AUB or A intersection B are not Present In Universal set . CPP / C++ / C Code:
please help me as soon as possible |
||||
|
#2
|
|||
|
|||
Re: Finding the Union, Intersection, Difference and SymmetricI got to say than your code sucks.
I suggest you get Union of a and b to "a_b" firstly, get Intersection of a and b to "a&b" secondly. then check if the elements are Present In Universal set or not. CPP / C++ / C Code:
|
|
#3
|
||||
|
||||
Re: Finding the Union, Intersection, Difference and SymmetricWell, first thing is your formatting -- you need to make your code clearer.
Next, void main() is just plain wrong. Then, CPP / C++ / C Code:
CPP / C++ / C Code:
Here's where the actual coding problem comes in: CPP / C++ / C Code:
That might help you figure out why you're getting the error. Quote:
__________________
During the election they said Obama could only be elected when pigs fly. Well, we currently have an epidemic of Swine Flu. Coincidence? |
|
#4
|
|||
|
|||
Re: Finding the Union, Intersection, Difference and SymmetricQuote:
|
Recent GIDBlog
Accepted for Ph.D. program by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| run script command on ns2.26 | newbie06 | Computer Software Forum - Linux | 65 | 19-Aug-2009 08:50 |
| Plz anyone help to fix the linking errors: | dathatreya | MS Visual C++ / MFC Forum | 0 | 03-Apr-2008 01:19 |
| Need urgent help. Nonsensical compile errors on test code (for game) | seasons | C++ Forum | 1 | 29-Nov-2007 13:41 |
| Compile Errors due to Default Parameters | jdbrine | C++ Forum | 1 | 17-Jun-2006 15:45 |
| Can somebody look at this and point out any errors to me | soulfly | C Programming Language | 7 | 31-Mar-2004 10:45 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The