How do you do this?

This is a discussion on How do you do this? within the C Programming forums, part of the General Programming Boards category; Your task is to implement the set containing integers and the above said set operations using Arrays. The function prototypes ...

  1. #1
    Registered User
    Join Date
    May 2003
    Posts
    1

    Unhappy How do you do this?

    Your task is to implement the set containing integers and the above said set operations using Arrays. The function prototypes are shown below:

    void join( int s1[ ], int s2[ ], int s3[ ] ); // Union Operation
    void intersection( int s1[ ], int s2[ ], int s3[ ] ); // Intersection Operation
    void difference( int s1[ ], int s2[ ], int s3[ ] ); // Difference Operation
    int subSet( int s1[ ], int s2[ ] ); // subset Operation
    int properSubsetOf( int s1[ ], int s2[ ] ); // properSubsetOf Operation
    int elementOf( int s[ ], int ); // elementOf Operation
    int cardinality( int s[ ] ); // cardinality Operation
    void printSet( int s[ ] ); // display the elements of the set
    int menu( ); // displays the menu options
    void getSet( int s[ ] ); // Input the set elements from the user

  2. #2
    Registered User
    Join Date
    Jan 2003
    Posts
    115
    that doesnt help
    need a bit more info, at least read the question
    and give it a go
    there are only 10 people in the world, those who know binary and those who dont

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21