#include <iostream>
#include <cstring>
using namespace std;
class Building
{
private : char * name, * style, * description, year, month, day;
public :
void message( )
{
cout << "LET`S SEE NEW BUILDING" << endl;
} ;
void charact( char * name_building, char * style_building, char * characteristics_building, int age_date, int month_date, int day_date)
{
name = name_building;
style = style_building;
description = characteristics_building;
year = age_date;
month = month_date;
day = day_date;
} ;
void get( )
{
cout << "THE BUILDING NAME IS - " << name << endl;
cout << "THE BUILDING STYLE IS - " << style << endl;
cout << "THE BUILDING DESCRIPTION - " << description << endl;
cout << "THE BUILDING AGE - " << year<< "." << month<< "." << day<< endl;
} ;
} ;
int main( )
{
Building St_Yura_Church;
St_Yura_Church.message ( ) ;
St_Yura_Church.charact ( "Yura" ,"baroko" ,"style" , 1876 , 9 , 30 ) ;
St_Yura_Church.get ( ) ;
Building Big_Ben;
Big_Ben.message ( ) ;
Big_Ben.charact ( "BIG_BEN" ,"clock" ,"garden" ,1999 ,9 ,3 ) ;
Big_Ben.get ( ) ;
system ( "pause" ) ;
return 0 ;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0cmluZz4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKY2xhc3MgQnVpbGRpbmcKewpwcml2YXRlOiBjaGFyICpuYW1lLCAqc3R5bGUsICpkZXNjcmlwdGlvbiwgeWVhciwgbW9udGgsIGRheTsKcHVibGljOgogICAgdm9pZCBtZXNzYWdlKCkKICAgIHsKICAgICAgICBjb3V0IDw8ICJMRVRgUyBTRUUgTkVXIEJVSUxESU5HIiA8PCBlbmRsOwogICAgfTsKICAgIHZvaWQgY2hhcmFjdChjaGFyICpuYW1lX2J1aWxkaW5nLCBjaGFyICpzdHlsZV9idWlsZGluZywgY2hhciAqY2hhcmFjdGVyaXN0aWNzX2J1aWxkaW5nLCBpbnQgYWdlX2RhdGUsIGludCBtb250aF9kYXRlLCBpbnQgZGF5X2RhdGUpCiAgICB7CiAgICAgICAgbmFtZSA9IG5hbWVfYnVpbGRpbmc7CiAg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