graphics.h supplement?

Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Feb 2005
Posts: 84
Reputation: evilsilver is an unknown quantity at this point 
Solved Threads: 1
evilsilver's Avatar
evilsilver evilsilver is offline Offline
Junior Poster in Training

graphics.h supplement?

 
0
  #1
Mar 3rd, 2005
ok here is my question, i use borland c++ builder 3 and in a book i found an example for a graphics.h program which is supposed to work but i have heard that this only works in dos mode not in windows (which i am running in) is there another type of thing other than graphics.h that will do approximatly the same thing? (please don't try to explain why it doesn't work, or suggest other compilers, i like this compiler and have looked up why this don't work already, i just want to know if there is another technique other than graphics.h that will do the same basic thing)
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,867
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 755
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Senior Bitch

Re: graphics.h supplement?

 
0
  #2
Mar 3rd, 2005
You haven't left yourself any options, so you're SOL unless you grow a brain and join the 21st century. Sure, you could downgrade to an OS that supports DOS programs, but that's really a step in the wrong direction.
New members chased away this month: 5
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 84
Reputation: evilsilver is an unknown quantity at this point 
Solved Threads: 1
evilsilver's Avatar
evilsilver evilsilver is offline Offline
Junior Poster in Training

Re: graphics.h supplement?

 
0
  #3
Mar 3rd, 2005
Originally Posted by Narue
You haven't left yourself any options, so you're SOL unless you grow a brain and join the 21st century. Sure, you could downgrade to an OS that supports DOS programs, but that's really a step in the wrong direction.
first of all that seemed a little uncalled for, second of all i know i can use other methods that show pictures, i am a new c++ programer and am taking a class this is my first semester in it and i am now going over some of the graphics, i found out about graphics.h and saw how to use it and found that my operating system won't include it for some odd reason (last time i checked win 98 (not se) does support dos based programs (i may be wrong on that but i pretty sure)) so i looked around for a similar tactic. and next time instead of putting down the person looking for help, either zip your lip and move on or post something useful other than the "grow your self some brains" suggestion (by the way take some of your own advice!!!).
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,867
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 755
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Senior Bitch

Re: graphics.h supplement?

 
0
  #4
Mar 3rd, 2005
>first of all that seemed a little uncalled for
You refuse to use anything but an ancient compiler because you "like it", and you want to write DOS based graphical programs (that rely on real-mode memory access) on the Windows platform (that forces protected-mode operation). It sure seemed called for to me.

>post something useful other than the "grow your self some brains" suggestion
If you lose the tunnel vision and read the entire post, you'll find that I answered your question completely with the given restrictions. I ruled out the option of upgrading to a newer compiler, and suggested that you install DOS. If you're willing to take any old graphics library instead of something approximately the same as graphics.h then you can search google and maybe find something that supports your compiler, but in the end it's wiser to upgrade and exercise the myriad of options that are opened up.

>by the way take some of your own advice!!!
I'm not the one trying to write DOS programs in Windows.

p.s. If your choice of compiler and graphical code is due to your class, then please accept my appologies and transfer the insults to your teacher, who clearly is a moron stuck in the stone age.
New members chased away this month: 5
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 4,151
Reputation: vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice 
Solved Threads: 952
Moderator
vegaseat's Avatar
vegaseat vegaseat is offline Offline
DaniWeb's Hypocrite

Re: graphics.h supplement?

 
0
  #5
Mar 4th, 2005
I think this is what WinBGI and this little code snippet is all about.
http://www.daniweb.com/code/snippet176.html
May 'the Google' be with you!
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 445
Reputation: 1o0oBhP is an unknown quantity at this point 
Solved Threads: 6
1o0oBhP's Avatar
1o0oBhP 1o0oBhP is offline Offline
Posting Pro in Training

Re: graphics.h supplement?

 
0
  #6
Mar 4th, 2005
You could investigate DirectX graphics. It really isnt hard as long as you error check all the way, otherwise it starts getting frustrating. Or even easier try OpenGL
http://sales.carina-e.com

no www
no nonsense

coming soon to a pc near you! :cool:
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum


Views: 3615 | Replies: 5
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC