Hi everyone ... i have a request :
i have a source code that one of my friends gave me ...
I need to re write this in a way that the outcome be similar to the original one (little differences are acceptable ) but the commands and the lines that are written be different from the original one ...
since I have little knowledge in c++ can somebody write this for me please
*sorry about my english it's not my native language*
Code:#include <iostream.h>
#include <string.h>
#include <conio.h>
char keyCode[26] = "qwertyuiopasdfghjklzxcvbnm";
char input[255] = "";
char ch;
int i , j;
void main(){
clrscr();
for ( i = 0 ; i <= 255; i++ ){
ch = getch();
if ( ch == 13 )
break;
cout << keyCode[ch - 'a' ];
j = strlen ( input );
input[j+1] = input [j];
input[j] = ch;
}
getch();
}