[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Getting Character from ASCII Values
- From: "Benjamin Esham" <bdesham@...>
- Date: Sun, 08 Sep 2002 23:26:36 -0400
* "Benjamin Esham" <bdesham@iname.com>:
> Is there a way to get the string equivalent of a given integer ASCII
> value? In other words, a function foo() where foo(65) would return 'A'. I
> tried the strchar() function, but it didn't seem to work right (and the
> manual does say that it's non-portable).
My apologies. I was passing an incorrect value to the strchar() function,
and when I fixed this, I found that it does indeed deal with ASCII values.
Again, sorry for not doing my homework and for posting crap to the list.
--
Benjamin D. Esham { http://bdesham.net
bdesham@iname.com } AIM: s c e s a r 1