Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~147 People Reached
Favorite Forums
Favorite Tags
c++ x 2
Member Avatar for gReen_aXe

[CODE]#include <iostream> using namespace std; typedef struct List { int data; List*link; List(){ data=0; link=NULL;} }SList; SList*L,*P,*temp; int x; SList*createnew(int x){ temp=new List; temp->data = x; temp->link = NULL; return (temp); } SList*findLast(SList*L){ temp=L; while(temp->link != NULL) temp=temp->link; return (temp); } void printList(SList*L){ temp=L; while(temp!= NULL){ cout<<temp->data<<endl; temp=temp->link; } } …

Member Avatar for Narue
0
147