Article View: es.comp.os.linux.programacion
Article #10615Re: Varias duda.
From: Jayr Al-Dyn
Date: Sun, 17 Feb 2002 10:41
Date: Sun, 17 Feb 2002 10:41
48 lines
1942 bytes
1942 bytes
Buenas.
Javier Beltrán Sánchez wrote:
> Buenas.
> Tengo unas cuantas preguntas, una de ella es: ¿ como puedo pasar una
> letra minuscula a otra minuscula ? ,
man toupper
man tolower
> esque esto me puede servir para
> dar valor a los arrays .
¿¿¿??? ¿Dar valor a los arrays pasando letras de mayúscula a minúscula?
Supongo que tu sabes de que va esto. Si yo quisiera inicializar un array
en C, usaría memcpy, pero en fin.
> Otra de ella es ¿ existe alguna libreria que
> me permita saber cuando tiempo ha pasado desde que ha transcurrido una
> parte de un programa ? , por ejemplo:
>
> --------
> int 0;
> int 5000;
>
> while (0<5000)
> int 0++;
> printf("%i", 0 );
> ---------
>
Lo puedes hacer tu mismo: marcas el tiempo al inicio, marcas el tiempo
al final y luego obtienes la diferencia:
man 2 time
man difftime
--
Jayr Al-Dyn
Usuario Linux #95614 en counter.li.org
http://www.jayraldyn.net
--
Technical Details
Message-ID:
<3C6F88EF.10403@jayraldyn.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!newsfeed.bcn.ttd.net!news.bcn.ttd.net!not-for-mailReferences:
<ab4993a4.0202161432.4f0331f0@posting.google.com>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,94564da90575c33a X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2002-02-17 02:43:17 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!newsfeed.bcn.ttd.net!news.bcn.ttd.net!not-for-mail From: Jayr Al-Dyn <jayraldyn@jayraldyn.net> Newsgroups: es.comp.os.linux.programacion Subject: Re: Varias duda. Date: Sun, 17 Feb 2002 11:41:51 +0100 Organization: MALOU Lines: 49 Message-ID: <3C6F88EF.10403@jayraldyn.net> References: <ab4993a4.0202161432.4f0331f0@posting.google.com> NNTP-Posting-Host: 213-98-164-133.uc.nombres.ttd.es Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1 X-Accept-Language: es, en