Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- int main() {
- char username[15], password[20];
- FILE *f;
- f = fopen("login.txt", "w");
- fprintf("Introduza o username: ");
- scanf(" %s", username);
- fprintf("Introduza a password: ");
- scanf(" %s", password);
- fclose(f);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement