| |

VerySource

 Forgot password?
 Register
Search
View: 1134|Reply: 4

What should I do if I can't use graphics.h under Linux?

[Copy link]

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-3-22 00:00:01
| Show all posts |Read mode
I want to write a program to implement the drawing function. I can no longer try graphics.h under win. What should I do? ?
Thank you
Reply

Use magic Report

0

Threads

23

Posts

15.00

Credits

Newbie

Rank: 1

Credits
15.00

 China

Post time: 2020-7-6 02:00:01
| Show all posts
? ? ?
Overthrow
Is your graphics library portable?
Reply

Use magic Report

1

Threads

11

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

Post time: 2020-7-6 05:15:01
| Show all posts
Graphics.h is under DOS, not under win.
Who still uses that thing now? There are other graphics libraries under linux, qt, gtk or something, but it is different from the concept of graphics.h.
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-7-10 10:30:01
| Show all posts
Graphics.h comes with win-tc compiler;
I'm not very familiar with programming under Linux, can the heroes be more explicit. How to call the file to draw, such as drawing a circle. Thank you
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-7-17 15:15:01
| Show all posts
Use curses or ncurses library,
Header file <curses.h>
You can go online to search for instructions about the library
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list