Code:
string c,e,d,j,k,l,n,m;
char a[18];
cout<<"Digite o nome da pessoa que voce quer abrir o registro:\n";
cin.getline(a,18);
cin.ignore();
ifstream a_file ( a );
getline(a_file,c);
getline(a_file,d);
getline(a_file,e);
getline(a_file,j);
getline(a_file,k);
getline(a_file,l);
getline(a_file,m);
getline(a_file,n);
cout<<"ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ\n";
cout<<""<< c <<"\n";
cout<<""<< d <<"\n";
cout<<""<< e <<"\n";
cout<<""<< j <<"\n";
cout<<""<< k <<"\n";
cout<<""<< l <<"\n";
cout<<""<< m <<"\n";
cout<<""<< n <<"\n";
cout<<"ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ\n";
ok. i did this and the program has compiled but it´s not showing in the screen the cout omg :/