Talk:Read a file line by line: Difference between revisions

From Rosetta Code
Content added Content deleted
m (answered a question. -- ~~~~)
(→‎Some constraints?: new section)
Line 18: Line 18:


-- [[User:Gerard Schildberger|Gerard Schildberger]] 16:31, 8 July 2012 (UTC)
-- [[User:Gerard Schildberger|Gerard Schildberger]] 16:31, 8 July 2012 (UTC)

== Some constraints? ==

I'd like to see some constraints on this task. This task is a potential example of the classic "buffer overflow" problem, and neglecting to even mention that issue in this context seems irresponsible. Perhaps we could impose some reasonable line length limit? (Would a megabyte be a reasonable line length limit?) --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 23:06, 8 March 2015 (UTC)

Revision as of 23:06, 8 March 2015

C++ could use an STL-algorithm implemented solution, ala: http://stackoverflow.com/questions/1567082/how-do-i-iterate-over-cin-line-by-line-in-c/1567703#1567703


Could someone show the NetRexx Solution? Thanks in advance!

YOY can't I get used to entering the summary
Could a prompt be implemented when one saves without summary?

--Walterpachl 16:20, 8 July 2012 (UTC)



Under

  • My preferences
  • (tab) Editing
  • checkbox: [] Prompt me when entering a blank edit summary.
  • click on Save

-- Gerard Schildberger 16:31, 8 July 2012 (UTC)

Some constraints?

I'd like to see some constraints on this task. This task is a potential example of the classic "buffer overflow" problem, and neglecting to even mention that issue in this context seems irresponsible. Perhaps we could impose some reasonable line length limit? (Would a megabyte be a reasonable line length limit?) --Rdm (talk) 23:06, 8 March 2015 (UTC)