Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
I want to have a code of DDA line drawing algorithm using C language. Can you help me
Posted

Nobody, and I mean nobody, is going to do homework requests for you. That defeats the purpose of the homework you should be doing on your own so that you can learn.

Btw, there are already tons of example code for this problem on internet (just in case if you are willing to do some effort in searching for them).
 
Share this answer
 
Comments
Prasad_Kulkarni 16-Jul-12 5:11am    
Well said +5
Manas Bhardwaj 16-Jul-12 5:54am    
thx!
You should have at least tried to use Google. You will find lots of solutions and prepared code that helps you, but you will never find a solution that matches your requirements 100%. Here is a link that provides C code that does what you need:
http://i.thiyagaraaj.com/tutorials/computer-graphics-programs-using-c-programming/dda-line-drawing-algorithm-using-c-programming[^]
 
Share this answer
 
Comments
Prasad_Kulkarni 16-Jul-12 5:12am    
5'ed :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900