User Profile

Collapse

Profile Sidebar

Collapse
lalchandra
lalchandra
Last Activity: Aug 9 '06, 06:16 PM
Joined: Aug 7 '06
Location: guyana
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • lalchandra
    replied to Sorting a double linked list
    in C
    before moving the node you have to link the node before it to the one that follows and the one that follows it to the node before it.

    be sure to declare a pointer to the node that you want to move
    See more | Go to post

    Leave a comment:


  • lalchandra
    replied to C++ Builder 6 - Controlling the main form
    in C
    try the onFormCreate event to do the checks
    if that does not work use the onFormShow event
    See more | Go to post

    Leave a comment:


  • lalchandra
    replied to release memory occupied by Char array..
    in C
    hi
    you have declared the variable nm as a pointer of a char so this prevents you from deleting an array of pointers because the last line is meant to release an array of pointers.

    delete nm should do the job..

    if you had declared it as:
    char** nm = new char*[8];
    then you would be in charge of deleting the array with delete[] nm;

    good luck
    See more | Go to post

    Leave a comment:


  • lalchandra
    replied to fstream issues
    in C
    here is the header file data:

    #ifndef UFileH
    #define UFileH

    #include <stdio.h>
    #include <time.h>
    #include <system.hpp>
    //---------------------------------------------------------------------------
    /* aMode type

    r Open for reading only.
    w Create for writing. .
    a Append; open for writing...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...