Facebook
From Ample Zebra, 5 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 216
  1. #include <iostream>
  2. using namespace std;
  3.                    //alt forma:                        ///alt forma:
  4. node *p=new node;  // t->next=new node;                ///t=t->next;
  5. t->next=p;         //t->next->val=x;                   ///t->val=x;
  6. p->next=NULL;      //t->next->next=NULL;               ///t-next=NULL;
  7. p->val =x;         //t=t->next;
  8. t=p;//lub t=t-next;//
  9.  
  10.  
  11.  
  12. int main()
  13. {
  14.     node *Q=NULL;
  15.     node *t=NULL;
  16.  
  17.     return 0;
  18. }