go
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user