Is there a way to check which char is at a given position in the console window? For example if I want to check if there's an asterisk (*) at position (10, 12), how do I do that? Or if I use move(10, 12);
, how do I check which char is at the current cursor position? I'm using c.
Asked
Active
Viewed 68 times
1

Jabberwocky
- 48,281
- 17
- 65
- 115

blackbird
- 53
- 6
-
1It's OS/Platform specific. Which OS/Platform are you using ? Edit your question and make that clear. – Jabberwocky Mar 17 '16 at 09:50
-
2Portably, no. There may be platfrom-specific solutions however, using e.g. ncurses or Windows APIs. – Jonathon Reinhart Mar 17 '16 at 09:50