Advertisement
Guest User

Untitled

a guest
Dec 10th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.66 KB | None | 0 0
  1.                 cout << setfill('_') << setw(48) << "" << endl;
  2.                 cout << left << setfill(' ');
  3.                 cout << "|Тема пройденного теста   |Оценка              |\n";
  4.                 cout << '|' << right << setw(26) << setfill('_') << "|" << setw(21) << setfill('_') << "|" << endl;
  5.                 cout << left << setfill(' ');
  6.                 cout << '|';
  7.                 string s(p->gettheme());
  8.                 if (s.length() > 25)
  9.                 {
  10.                     cout << s.substr(0, 25)<<'|';
  11.                 }
  12.                 else
  13.                 {
  14.                     cout << setw(25) << s << '|';
  15.                 }
  16.                 cout << setw(20) << p->getmark() << '|' << endl;
  17.                 cout << '|' << right << setw(26) << setfill('_') << "|" << setw(21) << setfill('_') << "|" << endl;
  18.                 cout << left << setfill(' ');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement