Search:

Type: Posts; User: Silvio

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    2,989

    For what it's worth, I stopped using Dev C++ due...

    For what it's worth, I stopped using Dev C++ due to my cpu going to 95% all the time when I'm debugging. I noticed this on a Vista pc and an XP laptop. I started using Code::Blocks. I find it has...
  2. Replies
    6
    Views
    1,659

    The tree is implemented on heap, using win32 heap...

    The tree is implemented on heap, using win32 heap functions. The heap is declared of a certain size and as each node is created a part of the heap is reserved for it.
    So, I think by using a linked...
  3. Replies
    6
    Views
    1,659

    I found this interesting site on function...

    I found this interesting site on function pointers

    The Function Pointer Tutorials - Introduction

    It uses quicksort example of how to use function pointers to implement callback functions.

    I...
  4. Replies
    6
    Views
    1,659

    Excuse my ignorance, but what do you mean by...

    Excuse my ignorance, but what do you mean by Callback and delegate?

    Ok, looked them up, (took me a while to realise what you meant, sorry). Callback seems to be related to "special warnings". What...
  5. Replies
    6
    Views
    1,659

    Binary Search Tree in DLL

    Hi,

    I have written the code for the basic functions of a binary search tree. All code works ok and I can use printf to view any results. The problem is I need to port the functions in a DLL and...
  6. Replies
    5
    Views
    5,424

    I have edited the printRoot function and now it...

    I have edited the printRoot function and now it gives the required output.



    void PrintRoot (NODE* pNode)
    {
    pNode = gRoot;
    if (pNode == NULL)
    {
    printf ("\nThe tree is...
  7. Replies
    5
    Views
    5,424

    Thanks but I had tried that already and I still...

    Thanks but I had tried that already and I still got that error.

    I changed a little the freetree function and instead of using free(tree) I used Heapfree. Now the code runs ok but when I try to...
  8. Replies
    5
    Views
    5,424

    Thanks Quzah for your reply. I tried the code...

    Thanks Quzah for your reply.

    I tried the code and still came up with a Windows error. Compiling all the code is ok but when it is Run I get a **.exe has stopped working error with the usual Vista...
  9. Replies
    5
    Views
    5,424

    Delete all from a Binary Tree

    Hi to all.
    I'm new to this board (and to C code) but have gone through some of the tutorials of the site and searched the board for relevant tips to my problem.

    I'm trying to write an...
Results 1 to 9 of 9