using opCmp
Jaehunt
jaeyoep at gmail.com
Wed Jul 17 16:50:45 PDT 2013
Hi, I tried to compare two sets by opCmp, but I couldn't get
correct outputs.
Does anyone help me?
I have same sets of set S1 = [1,2,3] and S2 = [1,2,3].
Output of S1<S2 should be false because S1 is not a proper subset.
However, S1<=S2 should be true because S1 is a subset of S1.
I can't make a difference between two sets by if statements, so I
can't make different output.
Does any have a idea for it?
Thank you.
More information about the Digitalmars-d-learn
mailing list