Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include "ascii.h"
- int main() {
- ascii a("Demonstraciya"), b("Vozmozhnostey");
- ascii c;
- c=a+' '+b;
- c.Show("\n");
- c.Reverse();
- c.Show("\n");
- c.Reverse();
- c.Insert(13," vseh");
- c.Show();
- c=c+'!'+"!!";
- c.Show("\n");
- c.Erase('!');
- c.Show("\n");
- (c.Erase(13,5)).Show(" <-ydaleno\n");
- c.Show("\n");
- }
Advertisement
Add Comment
Please, Sign In to add comment