Timeline for cs50 wrong analysis of mario/more
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 26, 2018 at 11:36 | vote | accept | Ricardo Martinelli | ||
Apr 26, 2018 at 11:36 | vote | accept | Ricardo Martinelli | ||
Apr 26, 2018 at 11:36 | |||||
Apr 25, 2018 at 19:25 | vote | accept | Ricardo Martinelli | ||
Apr 25, 2018 at 19:25 | |||||
Apr 25, 2018 at 18:55 | comment | added | Cliff B | If check50 says there is a single space at the end of the first line, then I would say that there definitely is one. The check50 code is too well tested for it to give a false fail. The only way to settle this would be to analyze the actual code. Try this: in your code, change any printf statement to print a ! instead of a space and see what happens. Also, pay close attention to the printf that handles the \n. For instance, is it "\n" or " \n"? (note the space before the slash) | |
Apr 25, 2018 at 17:05 | comment | added | Ricardo Martinelli | no, I did not add any spaces, because they aren't necessary. any other idea? the new line goes as the loop is over. the worst thing is it works perfect on the pc. | |
Apr 25, 2018 at 16:51 | history | answered | Blauelf | CC BY-SA 3.0 |