#include "iostream.h"
#include "conio.h"
#include "string.h"
class team 
{
public:
class student
{
public:
   int record;
   student *next;
   char name[20];
   student ( )
   {
   record=0;
   strcpy (name,"");
   }     
};
student *first,*current;
    void append (int num)
{
if (first==NULL) 
{  
cout <<"this is NULL";
   first=new student;
   current=first;
}
else
{
cout <<"noti's  NULL";
student *temp = new student;
// current.next=temp;
}
}};
void main ( )
{
team f;
f.append(12); 
//f.append(34);
getch ( );
}如果把这段程序改成链表?
程序运行的时候COUT没有被执行,说是程序另有一个出口