how to code email obfuscator in c++

Light Poster
28Jan2010,21:31   #1
chichi's Avatar
i've got confuse when i try to code email obfuscator . . any body helps me?
Contributor
29Jan2010,00:08   #2
Gene Poole's Avatar
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.
Light Poster
29Jan2010,05:34   #3
chichi's Avatar
i'm new at coding. so, i can't code it by myself.

will u give me some clues to code it??
Light Poster
29Jan2010,06:26   #4
chichi's Avatar
#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();
}
Light Poster
29Jan2010,06:29   #5
chichi's Avatar
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?