Search:

Type: Posts; User: TrippyJing

Search: Search took 0.00 seconds.

  1. It crashes at this insert function. bool...

    It crashes at this insert function.


    bool linkedList::Insert(int i, int a)
    {
    if ((i > (length+1)) || (i < 1))
    return false;
    Node *newn, *current;
    newn = new Node;
    newn->value = a;
  2. Program has encountered a problem and needs to close

    I'm trying to get this linked list project to work, but when I try to run it I get this error:



    Lab6 being my project.


    ------------------node.h------------------

    struct Node
  3. Replies
    5
    Views
    1,308

    Alright, I included it at the bottom of the...

    Alright, I included it at the bottom of the header, and that seems to have done the trick...after I removed array.cpp from my source files. Thanks.
  4. Replies
    5
    Views
    1,308

    If only I could. My professor requires us to have...

    If only I could. My professor requires us to have two source files and one header. One source with the main program, one source with the implementation file, and then the header.

    If I move...
  5. Replies
    5
    Views
    1,308

    Class Template

    I am currently taking a data structures class and I've run into a snag regarding one of the projects. It's a big one, as every other project after it requires it.

    Class templates.

    I get the...
Results 1 to 5 of 5