Timeline for pset2 hacker - initials.c outputs "MB" for " milo banana " expected output, but not "MB\u0000\n"
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 5, 2017 at 5:50 | comment | added | Basem Srour | Thanks for both of you, i was facing the same problem but my code was in different manner, but i knew where is the wrong in my code when i read the answer. | |
May 23, 2016 at 20:38 | comment | added | Cliff B | Yup, wrong check50. thanks. | |
May 23, 2016 at 20:35 | comment | added | Tomas Vrba | Thanks! You're right, simply fixing the for-loop is the simplest and easiest solution As per usual, I was trying to make thing more complicated than they need to be. In terms of replicating the problem, maybe you were using the regular check50: check50 2015.fall.pset2.initials initials.c and not the hacker check50: check50 2015.fall.hacker2.initials initials.c ? | |
May 23, 2016 at 20:32 | vote | accept | Tomas Vrba | ||
May 23, 2016 at 20:26 | history | answered | Cliff B | CC BY-SA 3.0 |