0

Does anyone know what this means? I'm getting the correct output from my program and this is the only message I get from check50.

3 Answers 3

4

Before you post a question, you should search to see if your question or a similar one had already been asked, in which case yours is. Check 50 returns unexpected end of input

I suggest that you try to include return 0 at the end of your code and try again, if that doesn't work, try running check50 again in a couple of hours.

1
  • Adding the return 0 at the end worked! Thanks
    – Phillip
    Commented Jun 9, 2014 at 15:59
0

You may also check your code against the staff implementation: check for blanks, newlines, number of hashes... everything must match, not just the pyramid...

Luigi

0

Use gdb and try to break down where the errors are.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .