Etiket: decode

Serial kodunu çözen uygulama

#include <stdio.h> #include <stdlib.h> #include <string.h> int main () { char host[256]; char deger[256]; printf(“deger gir\n”); scanf (“%s”,host); printf(“Girilen Sifre : %s\n”,host); printf(“Orginal Serial: “); int i=0; int sayi; sayi=strlen(host); for (i=0; i<sayi; i++){ switch (host[i]) { case ‘!’: host[i]=’0′; break; case ‘^’: host[i]=’1′; break; case ‘+’: host[i]=’2′; break; case ‘%’: host[i]=’3′; break; case ‘&’: […]

Basit bir serial olusturma kodu.

#include <stdio.h> #include <stdlib.h> #include <string.h> int main () { int lisans; lisans = time(NULL); printf(“Alınan zaman :%d\n”,lisans); int sayi1= rand () % 10 + 1; printf(“Uretilen sayı1 :%d\n”,sayi1); int sayi2= rand () % 10 + 1; printf(“Uretilen sayı2 :%d\n”,sayi2); int sifre1 = sayi1*lisans; printf(“Olusturulan sifre1: %d\n”,sifre1); int sifre2 = sayi2*lisans; printf(“Olusturulan sifre2: %d\n”,sifre2); char […]

Back To Top