fredoverflow
fredoverflow
> How do I get karel to create it's folder where I will allow it - Windows: `java -Duser.home=C:\some\other\folder -jar karel.jar` - macOS/Linux: `java -Duser.home=/some/other/folder -jar karel.jar`
> i have a feeling when i click on "goal" Karel walks a lot faster than in my solution. > Greetings from Germany! Such mal auf YouTube nach "Warum ist...
> tips? I'm stuck at findShelters `findShelters` is basically a recursive [Flood fill](https://en.wikipedia.org/wiki/Flood_fill).
> I would like to present Karel in a printed book and use screenshots there. Do you have any license terms or how can I reach you to clarify this?...
> the last carry bit or the entire most-significant bit is forgotten That was a deliberate decision to sensitize my students to "integer overflow"; the sum of 2 n-bit numbers...
Depends on what you mean by "right answer". In byte arithmetic, 255+1 = 0
Ich nehme mal an, du hast einen `struct Node`-Typ für die Listenknoten? Dann einfach eine globale Variable `struct Node NICHTS;` definieren und `&NICHTS` statt `NULL` verwenden ;)
Ctrl Shift M
That is a conscious decision to demonstrate *integer overflow*: > Karel wants to add 1 to a **byte**. > Karel wants to subtract 1 from a **byte**. Bytes only go...