Skip to content

Invisible ASCII chars #220

@Jelleas

Description

@Jelleas

A common bug in Caesar and Vigenere is printing out characters that are not visible on screen. The most common cause here is actually through an off by one error, where the student loops to < n+1 or <= n and then mistakenly encrypts the trailing \0 to something exotic. However, check50s feedback isn't very helpful here:

image

The above is the result of introducing this off-by-one in vault50's solution, full results at: https://submit.cs50.io/check50/db65ac87b1538ac1afc860e7df823b5158885d90

Can we improve?

Metadata

Metadata

Assignees

Labels

4.xIssues relating to check50 4.xenhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions