Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

a graphical line drawing program for debian in c language ?

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
krishna gopal sharma
Posts: 21
Joined: 2014-03-30 04:48

a graphical line drawing program for debian in c language ?

#1 Post by krishna gopal sharma »

a graphical line drawing program for debian in c language ?

User avatar
saulgoode
Posts: 1445
Joined: 2007-10-22 11:34
Been thanked: 4 times

Re: a graphical line drawing program for debian in c languag

#2 Post by saulgoode »

yes?
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -- Brian Kernighan

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: a graphical line drawing program for debian in c languag

#3 Post by stevepusser »

Hmmm--Inkscape is written in C++, as is Libreoffice Draw.

Dia http://en.wikipedia.org/wiki/Dia_%28software%29 is written in C
MX Linux packager and developer

krishna gopal sharma
Posts: 21
Joined: 2014-03-30 04:48

Re: a graphical line drawing program for debian in c languag

#4 Post by krishna gopal sharma »

i mean to say that


write a code in c to draw a line

which starts like

#include<graphics.h>.......

bsekisser
Posts: 13
Joined: 2012-11-11 02:34
Location: North Carolina.

Re: a graphical line drawing program for debian in c languag

#5 Post by bsekisser »

SDL is good and fairly simple to use for 2D graphics use.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: a graphical line drawing program for debian in c languag

#6 Post by stevepusser »

You can download and look at the source for Dia, to see how they did it.
MX Linux packager and developer

Post Reply