The aim of this project is to make the code a function that returns a line ending with a new line
, read from a file descriptor... aka The benefits of static variables.
El problema es que esa pizarra es muy muy muy estrecha y solo cabe una línea, así que cuando has escrito esa línea, tienes que borrarla y empezar de nuevo. Pero además hay otro problema añadido: esa línea no puedes escribirla del tirón, sino que hay que hacerlo como en los dictados del cole: el profe te leía parte del texto; tú escribías; el profe leía otro poco más y tú volvías a escribir. Y así hasta que acababa el texto. Pero recuerda que solo puedes escribir una línea en tu pizarra vileda, así que cuando el profe llega al final de línea, tienes que borrar tu pizarra vileda para poder escribir la siguiente línea. Al igual que en la vida real, es muy importante que borres muy muy bien la pizarra vileda después de escribir en ella, porque si escribes una letra encima de otra... mooooooc!!!
The problem is that that board is very, very, very narrow and only fits one line, so when you've written that line, you have to erase it and start over. But there is also another problem: you cannot write that line in one go, but you have to do it as in the school dictations: the teacher would read part of the text to you; you would write; the teacher would read another line and you would write again. And so on until the text was finished. But remember that you can only write one line on your blackboard, so when the teacher reaches the end of the line, you have to erase your blackboard in order to write the next line. Just like in real life, it's very important that you erase the blackboard very, very well after you write on it, because if you write one letter on top of another... mooooooc! [Translated with www.DeepL.com/Translator (free version)]