Talk:Kaprekar numbers: Difference between revisions

→‎C++ sample code: I see some new tasks appearing
(→‎C++ sample code: I see some new tasks appearing)
Line 52:
 
What's up with the people modifying the C++ code, previously (before long to long long) it returned wrong numbers, now it simply never returns on 32 bit system with g++ 4.5. Also maybe we should promote testing sample code with full warnings on: g++ gives signedness mismatch warning on line 20. --[[User:Ledrug|Ledrug]] 23:02, 15 June 2011 (UTC)
 
Would someone modify the code to work for a happy medium and then state on the task page that the C++ code is fragile w.r.t 32/64 bit systems and where the fragility lies? It sounds like it is an issue that should be taken into account when comparing that particular C++ code with other languages.
 
Come to think of it, maybe other similar languages might state why they don't have an issue? Or maybe there is a separate task here: "Do something that is otherwise straight-forward but needs slightly different code, or will not work on both 32 and 64 bit X86 systems and/or up-to-date, widely used, but different versions of compilers/interpreters"? --[[User:Paddy3118|Paddy3118]] 05:06, 16 June 2011 (UTC)
 
== Indentation... ==
Anonymous user