User Profile

Collapse

Profile Sidebar

Collapse
MitchMitchell
MitchMitchell
Last Activity: Jan 23 '07, 06:04 PM
Joined: Oct 19 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Do you need help with printing or the loops?

    The first loop is a simple for loop (i=1;i<=input;i ++)
    {j=input-1;
    print i;
    if i=input
    { while(i>0)
    if(j>0)
    {print j;
    --j;}
    insert end of line;
    }

    You get the idea. Next one is just a simple variation.

    Mitch...
    See more | Go to post

    Leave a comment:


  • MitchMitchell
    started a topic SmartHeap detects Memory Leak
    in C

    SmartHeap detects Memory Leak

    Hi,
    We just managed to get SmartHeap up and running and it's returning the following as a memory leak. We're using ANSI C memory allocation and I'm still a newbie, so any help would be appreciated.

    We're passing in text "sometext" to a function that accepts a string pointer.

    The receiving function does a string duplicate to write the text to memory space and create a new pointer. SmartHeap is saying...
    See more | Go to post
No activity results to display
Show More
Working...