🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: const wchar_t* lPathWchar2 = L"c:\\*"; // czy coś takiego usuwać delete?!?

#309014
From: Borneq
Date: Tue, 31 Jan 2017 17:40
8 lines
1410 bytes
W dniu 31.01.2017 o 18:01, szykcech@gmail.com pisze:
> Czyli wg Ciebie kompilator rozróżnia takie sytuacje:
> char* lZmienna1 = "Jakiś string.";
> char* lZmienna2 = new char[20];
>
> Ciekawe jak? Skoro później używa się ich jednakowo...
>
i dlatego kompilator sam nie może decydować o zwalnianiu
Technical Details
Message-ID: <o6qi5q$737$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-mail
References: <7f9d84b8-71e6-4ad8-b193-b678da31d453@googlegroups.com> <o6iv2c$rma$1@node2.news.atman.pl> <o6k7iu$1dq$2@node1.news.atman.pl> <d427f3f3-6e24-4307-8551-ba4097c65fff@googlegroups.com>

Show 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: Re: const wchar_t* lPathWchar2 = L"c:\\*"; // czy
 coś takiego usuwać delete?!?
Date: Tue, 31 Jan 2017 18:40:10 +0100
Organization: ATMAN - ATM S.A.
Lines: 8
Message-ID: <o6qi5q$737$1@node2.news.atman.pl>
References: <7f9d84b8-71e6-4ad8-b193-b678da31d453@googlegroups.com> <o6iv2c$rma$1@node2.news.atman.pl> <o6k7iu$1dq$2@node1.news.atman.pl> <d427f3f3-6e24-4307-8551-ba4097c65fff@googlegroups.com>
NNTP-Posting-Host: 91.239.205.105
Mime-Version: 1.0
X-Trace: node2.news.atman.pl 1485884410 7271 91.239.205.105 (31 Jan 2017 17:40:10 GMT)
X-Complaints-To: usenet@atman.pl
NNTP-Posting-Date: Tue, 31 Jan 2017 17:40:10 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0
In-Reply-To: <d427f3f3-6e24-4307-8551-ba4097c65fff@googlegroups.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit