Article View: borland.public.cppbuilder.nativeapi
Article #7282convert char to hex
From: Kane
Date: Sat, 26 Feb 2005 21:04
Date: Sat, 26 Feb 2005 21:04
7 lines
942 bytes
942 bytes
I need a function that converts a char to hex. For example
char ch = convert('A'); //returns 0x41
ch = convert('B'); //returns 0x42
Does anyone has an example of such function?
Thanks
Technical Details
Message-ID:
<4220e477$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e4fa8a59011e3e3c,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Kane" <info@ndw.com> Sender: "Kane" <info@ndw.com> Reply-To: "Kane" <info@ndw.com> Subject: convert char to hex Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 62.177.189.75 NNTP-Posting-Host: 207.105.83.66 Message-ID: <4220e477$1@newsgroups.borland.com> Date: 26 Feb 2005 13:04:55 -0800 X-Trace: newsgroups.borland.com 1109451895 207.105.83.66 (26 Feb 2005 13:04:55 -0800) Lines: 7 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail