void RemoveDuplicate(struct Node * HeadPointer){
if(HeadPointer != NULL){ // Only work if we have something to check for
struct Node * Previous; ...
Type: Posts; User: InsideTheAsylum
void RemoveDuplicate(struct Node * HeadPointer){
if(HeadPointer != NULL){ // Only work if we have something to check for
struct Node * Previous; ...
Oops, I think I see the error...
I have
NextNode = Current->next;
Current->next = NextNode;
That doesn't look like it does anything special.. Oops.
Edit: Fiddled with the function so that...
Hi,
I'm doing the linked list excercises from http://cslibrary.stanford.edu/105/. Currently I'm on #10, removeduplcate();. It takes a linked list that is sorted and then removes all duplicates....
I meant.. naming a namespace inside not make a change "inside" the namespace..
Oi, it's confusing :P. I just use "inside" as my online nickname ;P
Oooooh..
If I wanted to ... I could define my own namespace "inside" where the operators cout, etc, do different things. Right?
*wavies*
Hi, new person here.
I was wondering, could someone explain to me the significance of namespaces? I know when to use them and the like, but I don't understand _why_.
Thanks,
Inside