Class node:
#include
#include
using namespace std;
class node{
public:int data;
node*next;
};
int main(int argc, char *argv[])
{ node*a;
a= new node;
a->data=5;
a->next=new node;
a->next->data=7;
cout<next->data;
system("PAUSE");
return EXIT_SUCCESS;
}
cobo
BalasHapus