[C++] Equivalent of Pascal set?
From: Gerrit (no_at_sp.am)
Date: 02/24/04
- Next message: Fredrick Kenniston: "Re: WHILE Loop not exiting (was looking in wrong place)"
- Previous message: jeffc: "Re: Which of these C++ books is the "best" ?"
- Next in thread: Ulrich Eckhardt: "Re: [C++] Equivalent of Pascal set?"
- Reply: Ulrich Eckhardt: "Re: [C++] Equivalent of Pascal set?"
- Reply: Karl Heinz Buchegger: "Re: [C++] Equivalent of Pascal set?"
- Reply: Francis Glassborow: "Re: [C++] Equivalent of Pascal set?"
- Reply: Gerrit: "Re: [C++] Equivalent of Pascal set?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 24 Feb 2004 16:14:16 GMT
In Pascal you can write,
if A in Numberset begin ... etc.
where Numberset would be, for example, the set of integers [2,6,8], or a
similar set of any ordered type, with a maximum of 255 elements.
What is the nearest equivalent in C++?
Gerrit
- Next message: Fredrick Kenniston: "Re: WHILE Loop not exiting (was looking in wrong place)"
- Previous message: jeffc: "Re: Which of these C++ books is the "best" ?"
- Next in thread: Ulrich Eckhardt: "Re: [C++] Equivalent of Pascal set?"
- Reply: Ulrich Eckhardt: "Re: [C++] Equivalent of Pascal set?"
- Reply: Karl Heinz Buchegger: "Re: [C++] Equivalent of Pascal set?"
- Reply: Francis Glassborow: "Re: [C++] Equivalent of Pascal set?"
- Reply: Gerrit: "Re: [C++] Equivalent of Pascal set?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|