jacob navia said:
No. iso C doesn't have any notion of cursor, screen windows whatever.
The curses library has been ported to zig systems (windows, unix, and
several others), so it should be fairly portable if you like that kind
of look. But you will not find anything equivalent in iso C.
Oh, it's not really about the look, actually. I'm practicing with C,
and I'm trying to build a 2D physics simulator. I don't want to learn
win32 or GTK, and ncurses looked really easy, so I figured that I
would just represent particles with letters and then design a system
in which their internal position is rounded to the grid on the
terminal and printed as a letter. I don't think I can do this with
ISO standard C, if there is no curses library, so I will have to do
the physics itself standard, but make the UI nonstandard. Thanks much
though.