int main()
{
char adr[1000][200];
char p[50];
char *a;
int k = 0;
while (!f.eof())
{
f.getline(p, 51);
a = strstr(p, "@") + 1;
strcpy(adr[k],a);
k++;
}
for(int i=0;i<k;i++)
g<<adr[i]<<"\n";
dar nu e complet ,doar memoreaza in matricea adr,si afiseaza in fisier