This shows you the differences between two versions of the page.
|
c:conio.h:wherey [2013/02/03 16:50] 158.181.88.241 created |
c:conio.h:wherey [2024/02/16 01:05] (current) |
||
|---|---|---|---|
| Line 14: | Line 14: | ||
| { | { | ||
| int y; | int y; | ||
| - | printf("The answer is almost 42"); | + | printf("The answer is almost 42\n"); |
| y = wherey(); | y = wherey(); | ||
| printf("vertical cursor position from where this text appears = %d\n",y); | printf("vertical cursor position from where this text appears = %d\n",y); | ||
| Line 22: | Line 22: | ||
| ===== output of wherex example ===== | ===== output of wherex example ===== | ||
| - | vertical cursor position from where text appears is 33 | + | The anser is almost 42 |
| + | vertical cursor position from where text appears = 4 | ||
| + | |||
| + | {{:c:conio.h:wherey.png?nolink|}} | ||