Hey,

I'm looking for some help and advice on set theory.

Is set theory like arrays in C# and C++ for example? Like:

S = {1,2,3,4,5,6} // is a set of integers

But how do you access each member? For example, in C++:

cout << S[1]; // prints 1

Can someone explain (in simple terms) set theory? I'm confused :(

Is set theory like arrays in C# and C++ for example?

No no where close. Set theory is a branch of mathematics. Check here for more info.

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.