User Profile

Collapse

Profile Sidebar

Collapse
Jakiro
Jakiro
Last Activity: Dec 8 '07, 04:00 PM
Joined: Dec 6 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Jakiro
    replied to Qeustion about linked list
    in C
    if i get something like this .
    no error but can't delete the item i want .
    somone can help me toubleshoot?



    void Delete(Productp tr *r, char id[5])
    {
    Productptr *temp;
    Productptr *temp2;
    bool found;
    if(r==NULL)
    cout<<"Cannot delete from and empty list."<<endl;
    else
    {
    temp=r;
    found= false;
    ...
    See more | Go to post

    Leave a comment:


  • Jakiro
    started a topic Qeustion about linked list
    in C

    Qeustion about linked list

    I have some question about linked list.
    how to complete the delete and search function??


    [CODE=cpp]#include <iostream>
    #include <string>
    #include <cstdlib>
    using namespace std;


    struct ProductNode{
    char code[5];
    char description[30];
    double price;
    ProductNode *Next;
    };

    typedef ProductNode *Productptr;...
    See more | Go to post
    Last edited by Ganon11; Dec 6 '07, 02:25 PM. Reason: Please use the [CODE] tags provided.
No activity results to display
Show More
Working...