Advertisement
Guest User

Untitled

a guest
Apr 12th, 2019
84
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Derived D[10];
  2. ..........
  3. for(auto i = iterator; i != list.end(); ++i)
  4. {
  5. D[k].SetName(i->className);// записываем имя класса в класс Derived
  6. for (int j = 0; j < i->parentCount; j++)
  7. {
  8. D[k].SetParentName(i->parentName); //записываем имя класса в класс Base
  9. }
  10. }
Advertisement
RAW Paste Data Copied
Advertisement