🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

char to byte value?

#12161
From: Muzzy
Date: Tue, 23 Dec 2003 23:03
11 lines
1381 bytes
Hm.. it seems that i was using pascal for too long...
I can't seem to find how to get ASCII values of characters and reverse 
in c++.
in pascal it's "chr" and "ord"... I tried to look at C++Builder help for 
  "chr", 'ord', 'val' and any other combinations i could think of, but i 
can't find any :(

Any help to C++ returner suffered from pascal syndrome?

Thank you,
Andrey
Technical Details
Message-ID: <3fe8ca47$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.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,48d04663a6a1b1c6,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-12-23 15:09:38 PST
Date: Tue, 23 Dec 2003 18:03:17 -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: char to byte value?
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.91.233.60
Message-ID: <3fe8ca47$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1072220743 24.91.233.60 (23 Dec 2003 15:05:43 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail