You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am reading kilo code for learning C language.
In line551, allocating 9 bytes memory for one non-printable character.
Why 9 bytes memory need for a non-printable character?
And nonprint variable is only initialized to 0 at line 543, and it is not assigned to other value.
So I think nonprint is not useful at line 551.
What's the meaning of this?
The author probably intended to display non-printing characters something like <CTRL-D>. However ? is actually meant to be used, so the correct width is 1.
I am reading kilo code for learning C language.
In line551, allocating 9 bytes memory for one non-printable character.
Why 9 bytes memory need for a non-printable character?
And
nonprint
variable is only initialized to 0 at line 543, and it is not assigned to other value.So I think
nonprint
is not useful at line 551.What's the meaning of this?
The text was updated successfully, but these errors were encountered: