Skip to main content

Timeline for Taking arbitrary length input in C

Current License: CC BY-SA 3.0

9 events
when toggle format what by license comment
Aug 17, 2016 at 4:48 vote accept galois
Jul 25, 2016 at 22:26 comment added mleyfman @user2357112 I'd file functionality under Windows to be "special behavior" :)
Jul 25, 2016 at 20:22 comment added user2357112 getline isn't part of standard C. It's an extension, provided by compilers like GCC and mandated by POSIX, but not mandated by the C standard. I don't think it's available on Windows.
Jul 25, 2016 at 18:40 comment added mleyfman @chux Good point. Though it is quite simple to fix that.
Jul 25, 2016 at 15:26 comment added chux Note: OP's code does not include '\n'in the return buffer. getline() includes it.
Jul 25, 2016 at 6:04 history edited 200_success CC BY-SA 3.0
Link to getline() documentation
Jul 25, 2016 at 5:19 history edited mleyfman CC BY-SA 3.0
added 220 characters in body
Jul 25, 2016 at 5:05 history edited mleyfman CC BY-SA 3.0
added 220 characters in body
Jul 25, 2016 at 5:00 history answered mleyfman CC BY-SA 3.0