Article View: pl.comp.lang.c
Article #309730Problem z std::istream
From: Borneq
Date: Tue, 03 Jul 2018 17:17
Date: Tue, 03 Jul 2018 17:17
6 lines
1182 bytes
1182 bytes
Jeśli przeczytam ze strumienia do końca, nie daje się już cofnąć za pomocą seekg i przeczytać. Trzeba zamykać strumień i tworzyć go na nowo, to nie tylko czasochłonne, ale muszę znać ścieżkę do pliku, nie można po prostu działać z procedurą, która ma ogólny strumień jako parametr. Może jest jakiś inny strumień dostępny w c++ niż std::istream?
Technical Details
Message-ID:
<phgb39$l7r$1@node2.news.atman.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail From: Borneq <borneq@antyspam.hidden.pl> Newsgroups: pl.comp.lang.c Subject: Problem z std::istream Date: Tue, 3 Jul 2018 19:17:30 +0200 Organization: ATMAN - ATM S.A. Lines: 6 Message-ID: <phgb39$l7r$1@node2.news.atman.pl> NNTP-Posting-Host: public-gprs635513.centertel.pl Mime-Version: 1.0 X-Trace: node2.news.atman.pl 1530638249 21755 5.184.25.186 (3 Jul 2018 17:17:29 GMT) X-Complaints-To: usenet@atman.pl NNTP-Posting-Date: Tue, 3 Jul 2018 17:17:29 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 X-Mozilla-News-Host: news://news.atman.pl:119 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit