DynamicArray
operator overload requirements (+) - Union : Two sets can be "added" together. The union of A and B, is the set of all things that are members of either A or B. (-) - Intersection : The intersection of A and B, is the set of all things that are members of both A and B. (\) - Complement : The relative complement of B in A, is the set of all elements that are members of A but not members of B (*) - Cartesian product : The Cartesian product of two sets A and B, denoted by A * B is the set of all ordered pairs (a, b) such that a is a member of A and b is a member of B. (<<) - Outptut Values in the Collections. Ex. Collection: 1,3,4,1,2,3,4 (examples of the above operations: http://en.wikipedia.org/wiki/Set_(mathematics)#Basic_operations) You will need to pass two files to the program via the command line.
10 years ago
Purchase the answer to view it

- dynamicarray_answer.zip