This shows you the differences between two versions of the page.
|
c:conio.h:ungetch [2013/02/03 21:24] 158.181.88.241 |
c:conio.h:ungetch [2024/02/16 01:05] (current) |
||
|---|---|---|---|
| Line 34: | Line 34: | ||
| ===== output of ungetch c example ===== | ===== output of ungetch c example ===== | ||
| - | Input a int followed by a char: 1c | + | The answer is almost 42 |
| + | horizontal cursor position from where this text appears = 1 | ||
| + | c:\Borland>ungetch.exe | ||
| + | Input an integer followed by a char: | ||
| + | 1c | ||
| + | |||
| + | i = 1, next char in buffer = c | ||
| + | |||
| + | {{:c:conio.h:ungetch.png?nolink|}} | ||
| + | |||