graphics.h is a very old library for doing graphics in DOS with Borland C++ 3.x.
It's not supported under Windows, and the compiler isn't supported either.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
There is a C++ code snippet right here on DaniWeb called "Add a little Graphics to your Console" at:
http://www.daniweb.com/code/snippet173.html
You could potentially draw short lines following the x,y coordinates of your sin(x) function.
Forget about the old graphics.h and Borland BGI DOS stuff, that was left in the 16 bit graveyard a long time ago!
vegaseat
DaniWeb's Hypocrite
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417
Please try this link
free_eagle thanks for the link!!!!
I modified the package slightly, and was able to use it with Dev_C++
It works like a charm! I left a little code snippet on DaniWeb showing the details.
thanks again, team work at its best ...
vegaseat
DaniWeb's Hypocrite
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417
I hope you enjoy your adventures into the world of programming. The logic you learn will help your brain to think better. You are very welcome to ask questions on this forum, most of us are pretty friendly.
Give us enough detail to answer the question. Don't worry too much about the English, it's not my mother language either and I manage to get by.
vegaseat
DaniWeb's Hypocrite
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417
msaqib
Junior Poster in Training
91 posts since Sep 2004
Reputation Points: 9
Solved Threads: 1
im renn can you help some graphics program to do coz 8s my big project in 1st. college pls reply hope u will read and appreciate this comment.
Do not reply to old threads if you not gone post solution. If you need help with your project create new thread, well explain in full sentence English and of course do not forget include relevant coding.
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902