🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #8080

Re: problema de un novato con las conversiones

#8080
From: carleto
Date: Tue, 10 Dec 2002 19:19
12 lines
1145 bytes
>  char caracter;
>  int numero;
> 
>  caracter = getch();
>  numero = caracter -'0';
> 
>  saludos.

gracias a todos, esa es la solucion que habia adoptado, pero pense que
habria alguna funcion parecida a atoi

saludos
Technical Details
Message-ID: <df729253.0212101119.33be8214@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
References: <df729253.0212090928.61ded1f1@posting.google.com> <slrnavbb12.gfp.sromero@pinsa.escomposlinux.org>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: f86c8,7e56f80df416541f
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-12-10 11:19:40 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: pedgima@latinmail.com (carleto)
Newsgroups: es.comp.os.linux.programacion
Subject: Re: problema de un novato con las conversiones
Date: 10 Dec 2002 11:19:40 -0800
Organization: http://groups.google.com/
Lines: 12
Message-ID: <df729253.0212101119.33be8214@posting.google.com>
References: <df729253.0212090928.61ded1f1@posting.google.com> <slrnavbb12.gfp.sromero@pinsa.escomposlinux.org>
NNTP-Posting-Host: 213.98.77.144
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1039547980 17387 127.0.0.1 (10 Dec 2002 19:19:40 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 10 Dec 2002 19:19:40 GMT