C++链表,明天面试考前练习,主要熟悉一下环境,求面霸笼罩,,,#include using namespace std;typedef struct Node{ int data; Node *next;} Node;int main(){ Node* head,*last,*temp; int num,i; cin>>num; for(i=0;idata=i; if(i==0) head=temp; else last->next=temp; temp->next=NU... Read More
posted @ 2014-03-05 21:06 再见,少年 Views(188) Comments(0) Diggs(0) Edit