Closed curiouskiwi closed 2 months ago
Addressed with https://github.com/cs50/problems/commit/1be9de1eec9ccf9a7aab3c6e7bcb3c0905284142. Unfortunately, I don't think it's feasible to reliably find and replace readline
if it spans multiple lines—so I've given students a message that they should ensure their usage spans a single line.
For the checks in CS50R that are dealing with
readline
prompts (teahouse
for example), if the code has split the readline into multiple lines, check50 will produce an errorCan be replicated with code like
instead of
x <-readline("Prompt: ")