L
L
Ledington2021-08-31 10:00:43
C++ / C#
Ledington, 2021-08-31 10:00:43

How to draw diagonal lines in the console?

How can you draw diagonal lines in the console to make a kind of cross?
This is probably done somehow with the help of cycles. Although other methods are possible.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
H
HemulGM, 2021-08-31
@HemulGM

Draw characters diagonally

G
Griboks, 2021-08-31
@Griboks

In addition to simple output, you can also use magic characters to move the caret to the desired coordinates.

L
Ledington, 2021-08-31
@Ledington

How to do it? You can use the code as an example for this case.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question