void saveList()
{
cout<<"Wo sollen daten gespeichert werden?"<<endl;
cin>>fileName;
ofstream fout(fileName,ios::app);
p_akt=p_root;
while(p_akt!=NULL)
{
string n;
char *c;
n=p_akt->getArtikelBez();
strcpy(c,n.c_str());
fout << c << "*";
n=p_akt->getME();
strcpy(c,n.c_str());
fout << c << "*";
n=p_akt->getGefahrKlasse();
strcpy(c,n.c_str());
fout << c << "*";
n=p_akt->getHersteller();
strcpy(c,n.c_str());
fout << c << "*";
n=p_akt->getLagermenge();
strcpy(c,n.c_str());
fout << c << "*";
n=p_akt->getArtikelpreis();
strcpy(c,n.c_str());
fout << c << "*";
n=p_akt->getWarengruppe();
strcpy(c,n.c_str());
fout << c << "*";
p_akt=p_akt->next;
}
fout.close();
}