Skip to content

Instantly share code, notes, and snippets.

@iKlotho
Created December 24, 2014 17:27
Show Gist options
  • Save iKlotho/378de605759b96fa68bd to your computer and use it in GitHub Desktop.
Save iKlotho/378de605759b96fa68bd to your computer and use it in GitHub Desktop.
void bilgilerimi_goruntule()
{
system("cls");
system("cls");
FILE *fileptr1;
char ch;
//open file in read mode
fopen_s(&fileptr1, "user_information.dat", "r");
ch = getc(fileptr1);
while (ch != '\n')
{
printf("%c", ch);
ch = getc(fileptr1);
}
fclose(fileptr1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment