Talk:Closest-pair problem/C: Difference between revisions

From Rosetta Code
Content added Content deleted
(Correct? Set compiler flags? Note what version of C this code may work with?)
(yep - 2010 was a strange year to me, I dont remember if I've alrady considered this discussion...)
Line 1: Line 1:
your code does NOT RUN when i compile with devc or Turbo C???? (unsigned comment added by 113.22.126.190 at 21:06, 24 October 2010)
your code does NOT RUN when i compile with devc or Turbo C???? (unsigned comment added by 113.22.126.190 at 21:06, 24 October 2010)
: Correct it? Try setting compiler flags for compatibility with a specific C standard? --[[User:Short Circuit|Michael Mol]] 13:11, 25 October 2010 (UTC)
: Correct it? Try setting compiler flags for compatibility with a specific C standard? --[[User:Short Circuit|Michael Mol]] 13:11, 25 October 2010 (UTC)
:: "The code does not run"... is like pretending to derive solar physics by the statement "the sun shines"... By the way "devc" (Dev C++ IDE?) usually is used with (an old version of) gcc. On my test machine (GNU/Linux) it runs, except for some "evil dataset" that someone gave me once upon a time... I've inspected the code with valgrind, debugged it, ... but I was not able to unwind the flow that gives the problem... I know this code hides some oddity somewhere. Likely the better thing is to rewrite it from scratch, but I've not the courage yet! :) — [[User:ShinTakezou|ShinTakezou]] 17:52, 30 May 2011 (UTC)

Revision as of 17:52, 30 May 2011

your code does NOT RUN when i compile with devc or Turbo C???? (unsigned comment added by 113.22.126.190 at 21:06, 24 October 2010)

Correct it? Try setting compiler flags for compatibility with a specific C standard? --Michael Mol 13:11, 25 October 2010 (UTC)
"The code does not run"... is like pretending to derive solar physics by the statement "the sun shines"... By the way "devc" (Dev C++ IDE?) usually is used with (an old version of) gcc. On my test machine (GNU/Linux) it runs, except for some "evil dataset" that someone gave me once upon a time... I've inspected the code with valgrind, debugged it, ... but I was not able to unwind the flow that gives the problem... I know this code hides some oddity somewhere. Likely the better thing is to rewrite it from scratch, but I've not the courage yet! :) — ShinTakezou 17:52, 30 May 2011 (UTC)