this coding is in the class of set!

Set::setDifference(int elements,int& z)

{

    int a,b;

    z=(elements*a,elements*b);
    int temp;

    for (int i=0; i<=elements; i++)
    {
        *temp[i]=set[i]- z.set[i];
    }
    return temp;

}
tundra010 commented: noobish post. can not understand a word you say, and for god's sake, use <code> tags. +0

Recommended Answers

All 4 Replies

>>can any1 help me wid diz plz!!!
Afraid not, your post doesn't give us anything to work with...

We can't help you unless you help us understand your problem. Shouting at us about some unexplained problem in txt and subsequently barfing some code into a post doesn't do anybody any good, including you. Did you read the member rules?

commented: You have a lot of followers, I think! +5

this coding is in the class of set!

Set::setDifference(int elements,int& z)
{

    int a,b;

    z=(elements*a,elements*b);
    int temp;

    for (int i=0; i<=elements; i++)
    {
        *temp[i]=set[i]- z.set[i];
    }
    return temp;

}

end quote.

I really can't understand what you intend to do...:-O Please be more specific and your code is a little bit ...messy

what is the kind of problem you are facing with that code??? :icon_question:

This is exactly why I think a screening process should be put into place before we let people post/ make new threads on DW :/

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.