السلام عليكم مساء ملئ بالأكواد ومعطر بأزكى العطور
واللي يسلمكم شوفوا لي حل
void Patient::printFile()
{
cout<<"**************************"<<endl;
cout<<"*******patient file*******"<<endl;
cout<<"patient name: "<<fullName<<endl;
cout<<"patient ID : "<<id<<endl;
for(int i=0;i<index;i++)
history.printVisit();
cout<<"*************************"<<endl;
}يطلع لي عند كل cout
error C2872: 'cout' : ambiguous symbol
ماالحل :wacko:
