🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #12152

How to deal with Sets

#12152
From: Muzzy
Date: Tue, 23 Dec 2003 20:44
15 lines
1231 bytes
Hi,

Quick question, but i just can't find an answer:
i am tarnslating a program from Delphi to C++ Builder and so question is 
how to translate to c++ such pascal statemet:

Var c : char;
...
If c in ['A'..'Z'] Then ...

Of cource i just need ".. c in ['A'..'Z'].. ", because i couldn't find 
how to work with sets in C++.

Thank you,
Andrey
Technical Details
Message-ID: <3fe8a95e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,4cc169f4a0bbe667,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-12-23 13:09:58 PST
Date: Tue, 23 Dec 2003 15:44:37 -0500
From: Muzzy <leyandrew@yahoo.com>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: How to deal with Sets
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.91.233.60
Message-ID: <3fe8a95e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1072212318 24.91.233.60 (23 Dec 2003 12:45:18 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail