-
-
Save hhc0null/a15c7ed510737957db86 to your computer and use it in GitHub Desktop.
そーすこーどだよ♥
This file contains 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> | |
#include <stdlib.h> | |
#include <unistd.h> | |
// I want you to be known globally! | |
char your_introduction[0x100]; | |
int main() | |
{ | |
FILE *fp = NULL; | |
char message[30]; | |
puts("My name is Catherine:)"); | |
puts("About me:"); | |
if((fp = fopen("my_introduction.txt", "r")) == NULL) { | |
perror("Oops..."); | |
exit(EXIT_FAILURE); | |
} | |
fgets(message, 30, fp); | |
puts(message); | |
fclose(fp); | |
puts("Please tell me about you:"); | |
fgets(your_introduction, 0x100, stdin); | |
puts("Please leave your message:"); | |
fgets(message, 0x30, stdin); | |
puts("Thank you~ <3"); | |
sleep(30); | |
puts("(Hint: aHR0cHM6Ly9naXN0LmdpdGh1Yi5jb20vaGhjMG51bGwvYTE1YzdlZDUxMDczNzk1N2RiODY=)"); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment