You are here:

C/question

Advertisement


Question
 Hi, I'd like to kindly ask you 2 questions:
1) What is the easiest way to draw a point and a line in C language apart from using the graphics.h source file
2) Someone suggested GDI for drawing on the screen. How does that work?
Thaks much. Eric

Answer
Hello Eric,

   I don't do graphics programming. So, I am not familiar with its usage.
   Other than graphics.h file, you will have to use the respective library also.
   And there is another library called ncurses, which can be used to do the samething. But, that will be a kind of text graphics.
   I don't know GDI. I have heard that TK or Glade can help.

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Narendra

Expertise

I can answer questions in C related to programming, data structures, pointers and file manipulation. I use Solaris for doing C code and if you have questions related to C programming on Solaris, I will be able to help better.

Experience

6.5

Organizations belong to
Sun Microsystems

Awards and Honors
Brain Bench Certified Expert C programmer.
Advanced System Software Certified

©2012 About.com, a part of The New York Times Company. All rights reserved.