Re: use delete to destroy primitive/object types but memory is not freed

From: Eric Sosman (Eric.Sosman_at_sun.com)
Date: 04/07/04


Date: Wed, 07 Apr 2004 15:53:54 -0400

jimjim wrote:
>
> Hello,
>
> This is a simple question for you all, I guess .
> int main(){
> double *g= new double;
> [...]

    Stop right there: The question just becaue non-simple
for us-all here in comp.lang.c. Perhaps it would be simple
for them-all over thar in comp.lang.c++. Tread carefully
as you cross the demilitarized zone.

-- 
Eric.Sosman@sun.com


Relevant Pages

  • [GIT PULL] one kbuild fix
    ... Full patch below. ... Subject: kbuild: soften modpost checks when doing cross builds ... int opt; ...
    (Linux-Kernel)
  • RE: xml nodes and user defined function
    ... create table test(id int identity(1,1), doc varchar) ... cross apply doc.nodesas t ... Doc is in xml format. ... But it still complains about "Incorrect syntax near ')'". ...
    (microsoft.public.sqlserver.xml)
  • Re: strange case of void main
    ... > Just for curiosity. ... > an int, but I came cross with the following ... (Unnessecary code is snipped) ...
    (comp.lang.c)
  • Re: Cross apply doesnt require a UDF
    ... While CROSS APPLY is really not document well, there are plenty of examples on the web that demonstrate use of the APPLY operator with table expressions. ... Yes, indeed it is a powerful operator, see this example: ... keycol INT PRIMARY KEY, ...
    (microsoft.public.sqlserver.programming)
  • Restricting children processes
    ... I want to fork a number of children processes but I also want to ... cross some value. ... int max_children = 50; ...
    (comp.unix.programmer)