🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.linux.programowanie
Article #60443

Re: pytanie o stringi

#60443
From: Michal 'Khorne' Rzechonek
Date: Sun, 13 Nov 2005 20:56
20 lines
1430 bytes
On Sun, 13 Nov 2005 16:27:53 +0100
qw12 <qw12@o2.pl> wrote:
> 	char tablica[30];
> 	strcpy(tablica, l);

strcpy(tablica, l.c_str())

Pomysl chwilke, co robi funkcja strcpy.

> 2. Na googlu znalazłem informacje o funkcjach strupr i strlwr. Powinny 
> być w nagłówku string.h, ale w moim gcc ich nie ma. Czy to są funkcje 
> jakiegoś specyficznego kompilatora (np. VC++)?

Tak. W ANSI C masz funkcje toupper i tolower, dzialajace na pojedynczych
znakach.

pozdrawiam
-- 
Michal 'Khorne' Rzechonek -- mail&jabber khorne(at)leto.homedns.org
http://khorne.jogger.pl
Technical Details
Message-ID: <20051113215621.2ca8f31e@khorne.local>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!newsfeed.silweb.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!leto!nobody
References: <dl7m1q$9ai$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!newsfeed.silweb.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!leto!nobody
From: Michal 'Khorne' Rzechonek <khorne@leto.homedns.org>
Newsgroups: pl.comp.os.linux.programowanie
Subject: Re: pytanie o stringi
Date: Sun, 13 Nov 2005 21:56:21 +0100
Organization: ANet5
Lines: 20
Message-ID: <20051113215621.2ca8f31e@khorne.local>
References: <dl7m1q$9ai$1@inews.gazeta.pl>
NNTP-Posting-Host: leto.homedns.org
Mime-Version: 1.0
X-Trace: atlantis.news.tpi.pl 1131916195 9722 80.55.117.110 (13 Nov 2005 21:09:55 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Sun, 13 Nov 2005 21:09:55 +0000 (UTC)
X-Newsreader: Sylpheed-Claws 1.9.11cvs39 (GTK+ 2.8.6; i686-pc-linux-gnu)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit