🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: need a program that will print a percent of code in tehe exe/dll

#309273
From: Adam Wysocki
Date: Thu, 04 May 2017 08:30
24 lines
2594 bytes
Przemek Biernat <biernat.przemyslaw@gmail.com> wrote:

> Brak zwolnienia bufora to błąd. Zwykle wyciekami zajmuje się jak juź 
> wszystko znacznie działać.

Pisałeś kiedyś coś większego?

> A dlaczego nie referencja, pewnie i działa, w dokumentacji jest void* 
> nie wiem czy kompilator puści taką konwersję.

Przecież przy zmiennych:

char *pch;
char ch;

Zmienna pch jest tego samego typu, co &ch.

Poza tym:

http://www.learncpp.com/cpp-tutorial/613-void-pointers/

-- 
[ Email: a@b a=grp b=chmurka.net ]
[ Web:   http://www.chmurka.net/ ]
Technical Details
Message-ID: <32Tdfhdk7Iee6Nv8%gof@news.chmurka.net>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.chmurka.net!.POSTED.xt.v.chmurka.net!not-for-mail
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> <2dTdf82m6Iee6Nv8%gof@news.chmurka.net> <fcf7998a-18c6-4407-adf4-b1c05a11cc6b@googlegroups.com> <2oTdf8kraIee6Nv8%gof@news.chmurka.net> <oe96no$nre$1@node1.news.atman.pl> <b36b43c0-3eaa-473a-81d2-e8912bfc8ad5@googlegroups.com> <2rTdfcjouIee6Nv8%gof@news.chmurka.net> <696bad92-5cad-4891-91a7-eb70f631b21d@googlegroups.com> <2vTdffh9kIee6Nv8%gof@news.chmurka.net> <bdb959cf-cfd1-400e-ac0d-2f7e24156328@googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.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: Thu, 4 May 2017 08:30:26 +0000 (UTC)
Organization: news.chmurka.net
Message-ID: <32Tdfhdk7Iee6Nv8%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> <2dTdf82m6Iee6Nv8%gof@news.chmurka.net> <fcf7998a-18c6-4407-adf4-b1c05a11cc6b@googlegroups.com> <2oTdf8kraIee6Nv8%gof@news.chmurka.net> <oe96no$nre$1@node1.news.atman.pl> <b36b43c0-3eaa-473a-81d2-e8912bfc8ad5@googlegroups.com> <2rTdfcjouIee6Nv8%gof@news.chmurka.net> <696bad92-5cad-4891-91a7-eb70f631b21d@googlegroups.com> <2vTdffh9kIee6Nv8%gof@news.chmurka.net> <bdb959cf-cfd1-400e-ac0d-2f7e24156328@googlegroups.com>
Mime-Version: 1.0
Injection-Date: Thu, 4 May 2017 08:30:26 +0000 (UTC)
Injection-Info: news.chmurka.net; posting-account="gof"; posting-host="xt.v.chmurka.net:172.24.44.4"; logging-data="3487"; 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=1493886626; bh=bOIRAO1mP1ViK2xdpVBG4hHBnmk=; h=From:Subject:Newsgroups:References:Message-ID:Cancel-Lock:  User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ggTA5J+vF0VaCxV7PLC63vJPdFu2HG62vtkNyqTfnVzhYeYdkQBf92bojTtvXtUG9  K1mXPSZKmgPW3W5RBh8P8H9qaEgoB3JYbRd+05IdydC/Z31qW0zLO2wIaxYFCzcm6i  bhWCp4uB7itzt9mDrDWDGQc3GtkRviichuj5ephs=5ephs=
Cancel-Lock: sha1:dp4Tgg2IW9cGpsvrXYZUbw05Ok4=
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit