Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char* Word::operator!()
- {
- cout << "im in" << endl;
- for (int i = 0; i < Wsize; i++) {
- if (word[i] >47 && word[i] < 58) {
- int caunt = word[i];
- for (int z = 0; z < 9; z++) {
- caunt++;
- if (caunt = 57) {
- caunt = 48;
- }
- }
- word[i] = caunt;
- }
- if (word[i] < 123 && word[i]>96) {
- int caunt = (word[i] - 31);
- for (int z = 0; z < 22; z++) {
- caunt++;
- if (caunt = 91) {
- caunt = 65;
- }
- }
- word[i] = caunt;
- }
- if (word[i] < 91 && word[i]>64) {
- int caunt = (word[i] + 31);
- for (int z = 0; z < 22; z++) {
- caunt++;
- if (caunt = 122) {
- caunt = 97;
- }
- }
- word[i] = caunt;
- cout << word[i];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement