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;
...
User Profile
Collapse
-
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;...
No activity results to display
Show More
Leave a comment: