This commit is contained in:
2026-02-23 09:46:54 +01:00
parent 28dee070b3
commit 28546c7ce1
5 changed files with 22 additions and 65 deletions
@@ -6,15 +6,17 @@ int hidden_message(const char *filename, const char delim){
int c = fgetc(file);
printf("%c", c);
if (c != EOF) putchar(c);
//char *cara = c;
while(c != EOF){
c = fgetc(file);
if( c == delim){
c = fgetc(file);
printf("%c", c);
while(c == delim) c = fgetc(file);
if (c != EOF && c != delim)putchar(c);
}
}
fclose(file);