Search:

Type: Posts; User: chullen

Search: Search took 0.01 seconds.

  1. Replies
    25
    Views
    2,021

    you did all that in 3mins? i thought there was...

    you did all that in 3mins? i thought there was just like 1-2 lines wrong with mine....-_-
  2. Replies
    25
    Views
    2,021

    i also drew diagrams for the 1st function in the...

    i also drew diagrams for the 1st function in the insertinorder function to follow it line to line, i really dont see where the error is am i just stupid?
  3. Replies
    25
    Views
    2,021

    im sure the main is correct(or is it?) but whats...

    im sure the main is correct(or is it?) but whats wrong with the insertinorder function?

    the 2nd if function(the if(list==NULL) is correct)

    that leaves the 1st if function incorrect, am i...
  4. Replies
    25
    Views
    2,021

    let me show you what i have altered already ...

    let me show you what i have altered already


    void IPlist::insertInOrder(string address)
    // precondition : list is ordered and address is not in list
    //...
  5. Replies
    25
    Views
    2,021

    i think thats a doubly linked list, im just using...

    i think thats a doubly linked list, im just using a normal list
    list->info(IPaddress in this case) and list->link

    could you show me how to fix the loop?
  6. Replies
    25
    Views
    2,021

    if the list is empty i just add it to list 1.i...

    if the list is empty i just add it to list

    1.i create a new node so as to insert the new data into the list?
    2.how to make it stop looping after its inserted? im getin confused
  7. Replies
    25
    Views
    2,021

    void IPlist::insertInOrder(string address) ...

    void IPlist::insertInOrder(string address)
    // precondition : list is ordered and address is not in list
    // postcondition : list is ordered and contains address
    ...
  8. Replies
    25
    Views
    2,021

    could anyone help me to fix my problem? how to...

    could anyone help me to fix my problem?
    how to insert data with the insertinorder if the list is empty?
  9. Replies
    25
    Views
    2,021

    this is my current code #include...

    this is my current code




    #include <iostream>
    #include <cstdlib>


    using namespace std;
  10. Replies
    25
    Views
    2,021

    oops lol it works fine now thx a lot for you...

    oops lol
    it works fine now thx a lot for you help Salem~!
  11. Replies
    25
    Views
    2,021

    node *IPlist::find (string address) const ...

    node *IPlist::find (string address) const
    // precondition : none
    // postcondition : returns a pointer to node containing address or
    // ...
  12. Replies
    25
    Views
    2,021

    135 C:\Documents and Settings\IPlist.cpp could...

    135 C:\Documents and Settings\IPlist.cpp could not convert `((std::string*)current)->std::basic_string<_CharT, _Traits, _Alloc>::operator= [with _CharT = char, _Traits = std::char_traits<char>,...
  13. Replies
    25
    Views
    2,021

    lol.....all the errors just disappered except for...

    lol.....all the errors just disappered except for the

    133 C:\Documents and Settings\IPlist.cpp no match for 'operator==' in 'current == address'
  14. Replies
    25
    Views
    2,021

    i just added a "IPlist::" to what was declared in...

    i just added a "IPlist::" to what was declared in the header file? did i do it wrong?
  15. Replies
    25
    Views
    2,021

    sorry about that

    ok heres the header file


    --------------------------------------------------------------------------------------------------
    #ifndef IPLIST
    #define IPLIST

    #include <iostream>
    #include...
  16. Replies
    25
    Views
    2,021

    help with nodeType function?

    for some reason when i try to implement this function it says my list is not declared???

    node *find (string address) const;
    // precondition : none
    // postcondition...
Results 1 to 16 of 16