Hello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!
Hi, this is a comment.To delete a comment, just log in, and view the posts’ comments, there you will have the option to edit or delete them.
/** * Programita que encrypta una cadena * Written by `th3_f10w */
#include #include #include
int tobin(int x, int *bin); int todec(int *bin, int x); void regla(int *bin, int x);
main(){
char nombre[50]; int bin[8], let; int pos, dec;
system(”clear”);
fflush(stdin); printf(”\nIntroduzca el nombre: “); fgets(nombre,50,stdin);
printf(”\nCadena: Encryptada”); for(int c = 0; c 0){ bin[y] = x % 2; x/=2; y++; } return y; //retorna la ultima posicion }
void regla(int *bin, int x){ int y=x, z=0;
while(z>=1; tmp += decimal[z]; z++; x–; } return tmp; }
Name
Mail (will not be published)
Website
Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.
June 26th, 2005 at 5:10 pm
Hi, this is a comment.
To delete a comment, just log in, and view the posts’ comments, there you will have the option to edit or delete them.
June 28th, 2005 at 8:18 am
/**
* Programita que encrypta una cadena
* Written by `th3_f10w
*/
#include
#include
#include
int tobin(int x, int *bin);
int todec(int *bin, int x);
void regla(int *bin, int x);
main(){
char nombre[50];
int bin[8], let;
int pos, dec;
system(”clear”);
fflush(stdin);
printf(”\nIntroduzca el nombre: “);
fgets(nombre,50,stdin);
printf(”\nCadena: Encryptada”);
for(int c = 0; c 0){
bin[y] = x % 2;
x/=2;
y++;
}
return y; //retorna la ultima posicion
}
void regla(int *bin, int x){
int y=x, z=0;
while(z>=1;
tmp += decimal[z];
z++;
x–;
}
return tmp;
}