I have passed cs50 check on all 3 questions, but style score is 4, 4, and 3. i have put the recover code here and want to know why the style code is 3. Is there any way to check the style before submitting it just as earlier questions? thanks

[EDIT: Working code removed for Harvard Honor Code Compliance]


Yes, there's a simple way to check your code for style.

style50  recover.c

Run that command and it will return a style analysis for numerous issues - proper indentation, use of whitespace, etc. Once it returns "looks good!" your code is ready for submission.

If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)

  • thanks Cliff, all works now
    – Yao Lu
    Jul 14 '18 at 6:59

You must log in to answer this question.

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