Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- #define SERIAL_SIZE 100
- #define SERIAL "ElHackLab\n"
- int main ()
- {
- int count=0;
- char buff [SERIAL_SIZE];
- for (;;){
- printf ("Ingrese el serial:");
- fgets (&buff [0], SERIAL_SIZE,stdin);
- if (strcmp (&buff [0], SERIAL))
- printf ("Serial incorrecto - Compre el software desde http://www.sec-track.org o Intente nuevamente :P\n");
- else break;
- if (++count>4) return -1;
- }
- printf ("Serial Válido :D\n");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement