Re: convert gchar
- From: mrl netbank com br
- To: Gregory Babusiaux <gbabusia ulb ac be>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: convert gchar
- Date: Mon, 4 Mar 2002 13:44:02 -0300
On Mon, Mar 04, 2002 at 02:33:01PM +0100, Gregory Babusiaux wrote:
hi, i'd like to know how to convert a gchar to an integer
thanks for reading
greg, brussels
---end quoted text---
If it's stored like this "123", you can use
int atoi(char *)
function defined at stdlib.h. More information about this, you can check it's
man page, you have more 4 functions like this over there..
[]'s
--
Marcelo R Leitner <mrl netbank com br>
ICQ #: 29966851
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]