Flag Waving Using C
This is a simple C program. You can run this program in c compilers. In this program, dda line algorithm is used to plot the flagpole etc. By repeating algorithm in different position of the window, it look like waving in screen. You can enjoy it. Any queries contact me. #include #include #include #include #include void dda(float x1,float y1,float x2,float y2,int z) { float dx,dy,x=x1,y=y1,m; int