Big* d = new d[/*количество строк*/]; int j=0; while(ch!=EOF) { while((ch=fgetc(stream1))!='\n') { str[i++]=ch; } str[i]=0; d[j](str); i=0; j++; }