🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Czytanie z pliku tekstowego ale w C++

#308511
From: M.M.
Date: Tue, 03 May 2016 09:33
13 lines
1528 bytes
On Tuesday, May 3, 2016 at 11:30:21 AM UTC+2, Borneq wrote:
> Dotychczas używałem
> 	FILE *fp;
> 	fp = fopen(pchar, "r");
> 	fread(buf, size1, size2, fp);
> Ale chcę:
> - jako parametr nazwę pliku string, chętnie Unicode
> - nie czytać do bufora ale do stringa, może być bez unicode albo z 
> kodowaniem UTF8

http://www.cplusplus.com/doc/tutorial/files/

Pozdrawiam
Technical Details
Message-ID: <d2177c7d-fbab-4532-b819-f4531a2a5c3f@googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!fu-berlin.de!i5no2306447ige.0!news-out.google.com!uv8ni213igb.0!nntp.google.com!i5no2306436ige.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
References: <ng9r3c$t4m$1@node2.news.atman.pl>

Show Full Headers
Complete Article Headers
X-Received: by 10.66.156.101 with SMTP id wd5mr764739pab.33.1462268006073;        Tue, 03 May 2016 02:33:26 -0700 (PDT)
X-Received: by 10.50.178.174 with SMTP id cz14mr78244igc.10.1462268005985; Tue, 03 May 2016 02:33:25 -0700 (PDT)
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!fu-berlin.de!i5no2306447ige.0!news-out.google.com!uv8ni213igb.0!nntp.google.com!i5no2306436ige.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: pl.comp.lang.c
Date: Tue, 3 May 2016 02:33:25 -0700 (PDT)
In-Reply-To: <ng9r3c$t4m$1@node2.news.atman.pl>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=178.37.232.66; posting-account=xjvq9QoAAAATMPC2X3btlHd_LkaJo_rj
NNTP-Posting-Host: 178.37.232.66
References: <ng9r3c$t4m$1@node2.news.atman.pl>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d2177c7d-fbab-4532-b819-f4531a2a5c3f@googlegroups.com>
Subject: Re: Czytanie z pliku tekstowego ale w C++
From: "M.M." <mmarszik@gmail.com>
Injection-Date: Tue, 03 May 2016 09:33:26 +0000
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit