🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.c
Article #309738

Re: Problem z std::istream

#309738
From: Bartłomiej Golenko
Date: Sat, 07 Jul 2018 11:06
15 lines
1471 bytes
Borneq <borneq@antyspam.hidden.pl> wrote:
> W dniu 06.07.2018 o 18:01, Bartłomiej Golenko pisze:
>> C++98:
>> If the eofbit flag is set before the call, the function fails (sets
>> failbit and returns).
>> 
>> C++11:
>> The function clears the eofbit flag, if set before the call.
>
> Czyli problem jest w C++98 a nie w C++11?
> Ja używałem to w Visualu 2015, czy tam domyślnie ustawione jest C++14?

Problem nie jest w c++98, problem jest w "nieczytaniu" dokumentacji ;)

BG
Technical Details
Message-ID: <slrnpk17lt.nde.bartek@kts.pwr.edu.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!pwr.wroc.pl!news.wcss.wroc.pl!not-for-mail
References: <phgb39$l7r$1@node2.news.atman.pl> <slrnpjpjr2.ptq.bartek@kts.pwr.edu.pl> <phnuad$ib1$1@node1.news.atman.pl> <slrnpjv4j5.75q.bartek@kts.pwr.edu.pl> <phogmq$24n$1@node2.news.atman.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!pwr.wroc.pl!news.wcss.wroc.pl!not-for-mail
From: Bartłomiej Golenko <bartek@zts.invalid>
Newsgroups: pl.comp.lang.c
Subject: Re: Problem z std::istream
Date: Sat, 7 Jul 2018 11:06:37 +0000 (UTC)
Organization: Politechnika Wroclawska
Lines: 16
Message-ID: <slrnpk17lt.nde.bartek@kts.pwr.edu.pl>
References: <phgb39$l7r$1@node2.news.atman.pl> <slrnpjpjr2.ptq.bartek@kts.pwr.edu.pl> <phnuad$ib1$1@node1.news.atman.pl> <slrnpjv4j5.75q.bartek@kts.pwr.edu.pl> <phogmq$24n$1@node2.news.atman.pl>
Reply-To: pisz_na_newsy@albo.wcale.pl
NNTP-Posting-Host: zts.ita.pwr.wroc.pl
Mime-Version: 1.0
X-Trace: z-news.wcss.wroc.pl 1530961597 27354 156.17.38.22 (7 Jul 2018 11:06:37 GMT)
X-Complaints-To: abuse@news.pwr.wroc.pl
NNTP-Posting-Date: Sat, 7 Jul 2018 11:06:37 +0000 (UTC)
User-Agent: slrn/1.0.3 (Linux)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit