Hellko

main.cpp (ascii)

Mar 31st, 2013
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1. #include <stdio.h>
  2. #include "ascii.h"
  3.  
  4.  
  5. int main() {
  6.     ascii a("Demonstraciya"), b("Vozmozhnostey");
  7.     ascii c;
  8.     c=a+' '+b;
  9.     c.Show("\n");
  10.     c.Reverse();
  11.     c.Show("\n");
  12.     c.Reverse();
  13.     c.Insert(13," vseh");
  14.     c.Show();
  15.     c=c+'!'+"!!";
  16.     c.Show("\n");
  17.     c.Erase('!');
  18.     c.Show("\n");
  19.     (c.Erase(13,5)).Show(" <-ydaleno\n");
  20.     c.Show("\n");
  21. }
Advertisement
Add Comment
Please, Sign In to add comment