/* Gruppe Führer, Pracser, Schmied Projekt Teamarbeit Version 1.02 vom 2002.03.05 / 12:00 Module: fps.h, main.cpp abfrage.cpp, ansi2ascii.cpp, aufteilen,cpp, ausgabe.cpp, lesen.cpp, parse.cpp Dieses Modul: aufteilen.cpp Autor: Führer */ #include "fps.h" void aufteilen (char *line, person *allpersons) { char vor[100],zu[100],alt[3]; int found=0; int i; for(i=0;i<1000;i++) { found=parse(line,vor,found); strcpy(allpersons[i].vorname,vor); found=parse(line,zu,found); strcpy(allpersons[i].nachname,zu); parse(line,alt,found); strcpy(allpersons[i].alter,alt); } } // eof aufteilen.cpp