I need to draw 10 lines. From one point along one line to 10 other points. Using the ncurses library it would be desirable to find a solution using this library, I write under Linux in C ++.
I am writing a small toy. 10 on 10 "Archers". I need to draw an animation of a shot, so to speak, for starters, I would just like a line from one archer to another.
Line(int x0, int y0, int x1, int y1), for a couple of minutes. And in their own library, they still have only horizontal and vertical lines, if on the sclerocol. - PinkTuxmove(int x, int y), display the character -addch(const chtype ch). - PinkTux