|
![](/i/fill.gif) |
Ralf Muschall <rmu### [at] t-online de> wrote:
: Probably because nobody wanted to write such a function,
: ANSI libc.a does not contain one, and POV was written in a
: time before GNU hackers told that all limits are evil.
: AFAIK glibc has an extension (getline) which does the job.
filepos=ftell(InFile);
for(i=StartingQuoteIndex+1; getc(InFile)!='"'; i++);
fseek(filepos);
char* String=malloc(i-StartingQuoteIndex-1);
fgets(String, i-StartingQuoteIndex-1, InFile);
What's so difficult here?
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |