1 2 3 4 5 6 7 8 9 10 11 12
#include "stdafx.h" using namespace std; int _tmain() { StrokaId str1("bstu"),str2("123bstu"); str1=str2; str1.Print(); system("pause"); return 0; }