Re: Question in C
- From: John Coppens <john jcoppens com>
- To: "Thomas Keaney" <se40319 cs may ie>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Question in C
- Date: Fri, 20 Feb 2004 15:02:09 -0300
On Fri, 20 Feb 2004 17:27:18 -0000
"Thomas Keaney" <se40319 cs may ie> wrote:
Hi,
How would I change a char to an int. I have the value "34" as a
character. I want to change this to an int (34). Cheers
char is in fact an (smaller) int. So you can just assign the char value to
an int - no problem.
John
Regards,
Thomas Keaney
4 CSSE
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]