Created
November 28, 2014 15:42
-
-
Save f1nality/72107af066e3f083e36a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#define SECRET «1234567890AZXCVBNFRT» | |
int checksecret(){ | |
char buf[32]; | |
gets(buf); | |
if(strcmp(SECRET,buf)==0) return 1; | |
else return 0; | |
} | |
void outsecret(){ | |
printf("%s\n",SECRET); | |
} | |
int main(int argc, char** argv){ | |
if (checksecret()){ | |
outsecret(); | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment