//main.cpp kdevelop code::block #include #include using namespace std; #include"Subject.h" main() { Blog b1("Blog 1"); Blog b2("Blog 2"); //Subscriber s1("Sub1"); SubscriberG s2("Sub2@tipo_G.it"); SubscriberS s3("Sub3@tipo_S.it","Autore2"); SubscriberS s4("Sub4@tipo_S.com","Autore2"); SubscriberG s5("Sub5@tipo_G.it"); SubscriberG sx("SubX@tipo_S.com"); //b1.Detach(&s1); //cout<<"name SubG: "<