Article View: alt.comp.lang.learn.c-c++
Article #189Re: HOW Convert char ("A") to Ascii (65) ?????
From: Matt
Date: Mon, 23 Nov 1998 00:00
Date: Mon, 23 Nov 1998 00:00
13 lines
1338 bytes
1338 bytes
>How can I convert a char/AnsiString character ("A") to a int ascii value
>(65) ? and 65 to "A" ?????
char letter = A
something = int(letter)
32 + 12 + int(letter)
-- or --
int number = 65
something = char(number)
etc.
Matt
Technical Details
Message-ID:
<73dao0$5sg$1@birch.prod.itd.earthlink.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<SXl62.903$081.6430@news2.cityweb.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11605a,c6c96de55a1b7d31
X-Google-Attributes: gid11605a,public
X-Google-Thread: f9701,c6c96de55a1b7d31
X-Google-Attributes: gidf9701,public
X-Google-Thread: 114592,c6c96de55a1b7d31
X-Google-Attributes: gid114592,public
X-Google-Thread: fc8d0,c6c96de55a1b7d31
X-Google-Attributes: gidfc8d0,public
X-Google-Thread: 10d4ba,c6c96de55a1b7d31
X-Google-Attributes: gid10d4ba,public
From: "Matt" <man9@NO-SPAM.earthlink.net>
Subject: Re: HOW Convert char ("A") to Ascii (65) ?????
Date: 1998/11/23
Message-ID: <73dao0$5sg$1@birch.prod.itd.earthlink.net>
X-Deja-AN: 415042607
References: <SXl62.903$081.6430@news2.cityweb.de>
X-Posted-Path-Was: not-for-mail
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
X-ELN-Date: 24 Nov 1998 03:55:44 GMT
X-ELN-Insert-Date: Mon Nov 23 19:55:09 1998
Organization: EarthLink Network, Inc.
X-MSMail-Priority: Normal
Newsgroups: alt.comp.lang.learn.c-c++,alt.winsock.programming,att.lang.c++,borland.public.cppbuilder.activex,borland.public.cppbuilder.commandlinetools