🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.lenguajes.c++
Article #94

Crear clase dígito.

#94
From: R.G.A.M.
Date: Thu, 01 May 2008 23:25
5 lines
1481 bytes
Me gustaría saber cómo puedo diseñar un objeto de la misma naturaleza
que la clase "int", salvo que sólo abarque los números del 0 al 9,
para poder trabajar únicamente con dígitos, sin derrochar memoria.

Desde ya, muchas gracias.
Technical Details
Message-ID: <b8d26aa2-7a81-4015-b46c-65bf259d1ceb@b1g2000hsg.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!postnews.google.com!b1g2000hsg.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f53ec,2b546618fd129871,start
X-Google-Attributes: gidf53ec,domainid0,public,usenet
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!postnews.google.com!b1g2000hsg.googlegroups.com!not-for-mail
From: "R.G.A.M." <rgam1989@yahoo.com.ar>
Newsgroups: es.comp.lenguajes.c++
Subject: Crear clase dígito.
Date: Thu, 1 May 2008 16:25:02 -0700 (PDT)
Organization: http://groups.google.com
Lines: 5
Message-ID: <b8d26aa2-7a81-4015-b46c-65bf259d1ceb@b1g2000hsg.googlegroups.com>
NNTP-Posting-Host: 190.52.157.208
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1209684303 15042 127.0.0.1 (1 May 2008 23:25:03 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 1 May 2008 23:25:03 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: b1g2000hsg.googlegroups.com; posting-host=190.52.157.208; 
 posting-account=2dqaXQoAAACmdsk_dq8f_xlBUvJ5QRXy
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; 
 .NET CLR 2.0.50727; .NET CLR 3.0.04506; InfoPath.2; .NET CLR
 3.5.21022),gzip(gfe),gzip(gfe)