And after I change the type of "key" from char to int, I found all values return from the function getchar_timeout_us() is -1, which means the timeout error, but how? The getchar function will only be called if I pressed a key on the keyboard
Statistics: Posted by crisps — Fri Feb 23, 2024 1:14 pm