Do you need any help?

Notice Board

Per partecipare al corso di Fondamenti di programmazione 2021-22 loggatevi e attivatelo nella vostra pagina dei corsi preferiti. A quel punto il corso appare nel menĂ¹ personale cliccando sul proprio avatar. Per i materiali degli anni precedenti seguite lo stesso metodo.

To join the Programming/Lab 2021-22 course, log-on and select it on the my courses page. It will appear on the personal menu of your avatar. For earlier years use the same method.

VIDEOLEZIONI DEL CORSO DI FONDAMENTI DI PROGRAMMAZIONE AA20-21

PROGRAMMING COURSE VIDEOCONFERENCES AY20-21

Encoding of "End of Line" in the Homework file

ruben.ciranni (4650 points)
7 13 31
asked Oct 20, 2021 in HW1 optional by ruben.ciranni (4,650 points)
recategorized Nov 1, 2021 by andrea.sterbini
What sequence of characters (LF, CRLF, CR) for "End of line" should we use in the Homework?
157 views

2 Answers

GabrielAlexandru (7760 points)
2 4 29
answered Oct 20, 2021 by GabrielAlexandru (7,760 points)
I used the test provided in the zip archive and there is no need to check for the End Of Line sequence.
andrea.sterbini (172680 points)
511 927 1776
answered Oct 20, 2021 by andrea.sterbini (172,680 points)
The text is passed directly to your function by the test machinery, it's a single line with no newlines.