Quote:
Originally Posted by Freaky Chris
let us know how it turns out 
|
I managed to build this so far,the problem with typing other characters is solved,they remain the same as intended,but there is a problem with spaces and the letter z

code
#include <iostream>
#include <string>
#include <ctype.h>
using namespace std;
void Funkcija1(string zbor)
{ char a,b,c;
char x;
zbor[x];
for(x=0;x<(zbor.length());x++)
{
if(isalpha(zbor[x]))
zbor[x]=((int(zbor[x])+1));
}
cout<<zbor<<endl;
}
int main()
{
string Vs;
cin>>Vs;
Funkcija1(Vs);
system("PAUSE");
return EXIT_SUCCESS;
}