🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: wypis z tablicy

#60432
From: qw12
Date: Sat, 12 Nov 2005 20:25
14 lines
1151 bytes
Zrobiłem coś takiego, ale jak to najlepiej wrzucić do jakiejś pętli? Bo 
tak, jak jeest teraz to nie bardzo na większą skale ...

#include <iostream>
int main()
{
using namespace std;
char tablica[5];
cin >> tablica;
cin.ignore();
cout << tablica[4] << tablica[3] << tablica[2] << tablica[1] << 
tablica[0] << endl;		
}
Technical Details
Message-ID: <dl5j37$lpr$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <dl5il2$k6s$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: qw12 <qw12@o2.pl>
Newsgroups: pl.comp.os.linux.programowanie
Subject: Re: wypis z tablicy
Date: Sat, 12 Nov 2005 21:25:12 +0100
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 14
Message-ID: <dl5j37$lpr$1@inews.gazeta.pl>
References: <dl5il2$k6s$1@inews.gazeta.pl>
NNTP-Posting-Host: 213.17.236.154
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1131827112 22331 213.17.236.154 (12 Nov 2005 20:25:12 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Sat, 12 Nov 2005 20:25:12 +0000 (UTC)
In-Reply-To: <dl5il2$k6s$1@inews.gazeta.pl>
X-Accept-Language: pl, en-us, en
X-User: lszk1
User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit