I am not able to run DDA algorithm program in C on DOSBox, I’ve checked for any mistakes in the code but haven’t found anything wrong in the algorithm.
DOSBox Execution Error In DDA Algorithm Program In C And How To Solve It
There could be any of the following errors due to which your code isn’t executing
a) For executing a Computer Graphics algorithm you always need to include the graphics library in the header tags at the beginning of your code.
b) If you’re getting a linker error during the execution make sure you have enabled the linker
Library by doing the below steps
Options / Linker / Libraries / Check the Graphics library if unchecked