Article View: pl.comp.lang.c
Article #309251Re: need a program that will print a percent of code in tehe exe/dll
From: Adam Wysocki
Date: Sun, 30 Apr 2017 19:33
Date: Sun, 30 Apr 2017 19:33
12 lines
2029 bytes
2029 bytes
Przemek Biernat <biernat.przemyslaw@gmail.com> wrote: > Tam można jeszcze zrobić sprawdzenie czy fread wczytał znak ale skoro > feof przechodzi to powinien wczytać. Nie powinien i nie wczyta - nawet bez tego SEEK_END, gdy już będziesz na końcu pliku, to fread() pierwszy zwróci zero, a dopiero kolejny feof() zwróci niezero. -- [ Email: a@b a=grp b=chmurka.net ] [ Web: http://www.chmurka.net/ ]
Technical Details
Message-ID:
<2eTdf833bIee6Nv8%gof@news.chmurka.net>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.chmurka.net!.POSTED.xt.v.chmurka.net!not-for-mailReferences:
<624bfa7c-7f80-4bc9-a2cb-7598eab65097@googlegroups.com> <oe36vt$i0q$1@portraits.wsisiz.edu.pl> <720aff2d-5d5c-4104-ba18-6167de325226@googlegroups.com> <c1f9ec13-4698-45c0-8249-dbc050d67066@googlegroups.com> <02d494e0-4a40-414d-9e06-d5aeeee0dc65@googlegroups.com> <8fb667ba-6ca3-4a94-b237-df3f0834f8c2@googlegroups.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.chmurka.net!.POSTED.xt.v.chmurka.net!not-for-mail
From: gof@somewhere.invalid (Adam Wysocki)
Newsgroups: pl.comp.lang.c
Subject: Re: need a program that will print a percent of code in tehe exe/dll
Date: Sun, 30 Apr 2017 19:33:47 +0000 (UTC)
Organization: news.chmurka.net
Message-ID: <2eTdf833bIee6Nv8%gof@news.chmurka.net>
References: <624bfa7c-7f80-4bc9-a2cb-7598eab65097@googlegroups.com> <oe36vt$i0q$1@portraits.wsisiz.edu.pl> <720aff2d-5d5c-4104-ba18-6167de325226@googlegroups.com> <c1f9ec13-4698-45c0-8249-dbc050d67066@googlegroups.com> <02d494e0-4a40-414d-9e06-d5aeeee0dc65@googlegroups.com> <8fb667ba-6ca3-4a94-b237-df3f0834f8c2@googlegroups.com>
Mime-Version: 1.0
Injection-Date: Sun, 30 Apr 2017 19:33:47 +0000 (UTC)
Injection-Info: news.chmurka.net; posting-account="gof"; posting-host="xt.v.chmurka.net:172.24.44.4"; logging-data="14756"; mail-complaints-to="abuse-news.(at).chmurka.net"
User-Agent: tin/2.3.3-20160327 ("Kinloch") (UNIX) (Linux/3.16.0-4-amd64 (x86_64))
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; d=chmurka.net; s=news; t=1493580827; bh=YxXgI38HIqRRfsX52wiymlH4U4g=; h=From:Subject:Newsgroups:References:Message-ID:Cancel-Lock: User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding; b=jCmbSYXnOg00dYmqOZvI7q/Kq5ovzKo688U42HX4kDUiG0ZJGOYATVODAfFwKh1H0 0eGbwo1R7jwLHwdl/F6HlNKAgtXV31wqj3OO5RaAgeuyxpk90HbWbsFXdpmNG8xfwL dVie2W+BpY9tqt+TEhFPDlHlxe2HmSPMP7uB4C2U=B4C2U=
Cancel-Lock: sha1:mKUpORn2ioJ3HKAqxiel+HgCvsM=
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit