Thanks for the suggestions. I think I did not frame my question correctly. The main problem I am facing is that my Turbo C++ version through DosBox is not supporting graphics. My OS is Windows 7 64-bit. Can anyone help?
Jay
November 16, 2011 at 5:59 am
are you including graphics.h and other header files?
can it find libraries without any problem, make sure you have set the paths correctly.
Jeff
November 15, 2011 at 3:04 pm
Can you use an API? SDL and OpenGL are definitely going to make your life easier here. The D3D library has also proved to be invaluable and easy to learn.
so you are learning graphics in c ! BCA ?
use rectangle function or line , and change the co-ordinates using for loop, i don't remember the exact coding, but I used to create some cool animations in lab.
Have you read this
http://www.dreamincode.net/forums/topic/207871-turbo-c-graphics-code-help/
C++ program to draw and move a circle on the screen
http://unicomtech.blogspot.com/2007/06/c-program-to-draw-and-move-circle-on.html
Turbo C Graphics - Move Object using getimage and putimage
http://www.softwareandfinance.com/Turbo_C/Move_Object.html
Borland Graphics Interface (BGI) for Windows
http://www.dreamincode.net/forums/topic/207871-turbo-c-graphics-code-help/
http://www.cs.colorado.edu/~main/cs1300/doc/bgi/index.html
Graphics in C Language
http://www.mycplus.com/tutorials/c-programming-tutorials/graphics-programming/
http://www.friedspace.com/cprogramming/cgraphics.php
Computer Graphics Programs
http://www.w3professors.com/Pages/Courses/Computer-Graphics/Programs/CG-Program.html
Thanks for the suggestions. I think I did not frame my question correctly. The main problem I am facing is that my Turbo C++ version through DosBox is not supporting graphics. My OS is Windows 7 64-bit. Can anyone help?
are you including graphics.h and other header files?
can it find libraries without any problem, make sure you have set the paths correctly.
Can you use an API? SDL and OpenGL are definitely going to make your life easier here. The D3D library has also proved to be invaluable and easy to learn.
Part One: The Basics of Rotations in Three Dimensions
An Object Oriented Approach to Animation
so you are learning graphics in c ! BCA ?
use rectangle function or line , and change the co-ordinates using for loop, i don't remember the exact coding, but I used to create some cool animations in lab.
make changes in this coding and try:
using rectangle in for loop, and clearviewport should do it.
as it will create rectagle on new location and clear the previous.
http://www.programmingsimplified.com/c/program/moving-car
http://www.softwareandfinance.com/Turbo_C/Move_Object.html
:)