how to code email obfuscator in c++

chichi's Avatar, Join Date: Jan 2010
Light Poster
i've got confuse when i try to code email obfuscator . . any body helps me?
Gene Poole's Avatar, Join Date: Nov 2009
Contributor
Without being able to read you mind it will be very difficult to help you.

Please describe what the problem is, and post some of your code so we can see what you are confused about.
chichi's Avatar, Join Date: Jan 2010
Light Poster
i'm new at coding. so, i can't code it by myself.

will u give me some clues to code it??
chichi's Avatar, Join Date: Jan 2010
Light Poster
#include "stdio.h"
#include "string.h"
#include "conio.h"
int main (){
char email[20];
printf ("Email : "); gets (email);
for (int i=0; i<strlen(email); i++){
printf ("%x", email[i]);
}
printf ("\n");
for (int i=0; i<strlen(email); i++){
printf ("%c", email[i]);
}
getch();
}
chichi's Avatar, Join Date: Jan 2010
Light Poster
How to make the output be like this :
sam@sam.com is converted to:
sam@sam.com
Conversion Details
Text HTML or Text
s s
a a
m m
@ @
s s
a a
m m
. .
c c
o o
m m

can u help me?