Well, seems i finaly made what i wanted to! Not the most comprehencive program but still... its more than ive ever made before Its probably not the best method but still it works... I descided to typecast the loop and add 5. Lots of parentheses but it gets the job done
Code:
#include <cstdlib>
#include <iostream>
#include <conio.h>
using namespace std;
int main()
{
string tekst = "SilverAdder";
int n = tekst.length();
for(int i = 0; i < n; i++)
{
cout << tekst[i] << endl;
}
getch();
cout << endl;
for (int i = 0; i < n; i++)
{
cout << (char)(((int)tekst[i])+5) << endl;
}
getch();
return 0;
}