graphics in C++

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2004
Posts: 23
Reputation: iamboredguy is an unknown quantity at this point 
Solved Threads: 0
iamboredguy's Avatar
iamboredguy iamboredguy is offline Offline
Newbie Poster

graphics in C++

 
0
  #1
Sep 4th, 2004
I have this project to do and I want to use coloured text and some simple shapes, etc. But the problem is that my compiler does not support graphics.h or dos.h. Even my tclite doesn't (I usually use BC5 windows version). Is there any way of correcting this problem? Or maybe another version which does support?
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 20
Reputation: cppforlife is an unknown quantity at this point 
Solved Threads: 0
cppforlife cppforlife is offline Offline
Newbie Poster

Re: graphics in C++

 
0
  #2
Aug 28th, 2005
You can use Win32 API to do that.
Nice example of using API @ http://www.daniweb.com/code/showsnippet.php?codeid=173

Any more questions? ->>cppforlife@yahoo.com
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 598
Reputation: SpS is on a distinguished road 
Solved Threads: 32
SpS's Avatar
SpS SpS is offline Offline
Posting Pro

Re: graphics in C++

 
0
  #3
Aug 28th, 2005
yaa you an do that but it will be unncessary burden for you
i'll suggest you to go for turbo c++ compiler in case you want use graphics
it fully supports it
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 108
Reputation: prog-bman is an unknown quantity at this point 
Solved Threads: 3
prog-bman prog-bman is offline Offline
Junior Poster

Re: graphics in C++

 
0
  #4
Aug 29th, 2005
Originally Posted by sunnypalsingh
yaa you an do that but it will be unncessary burden for you
i'll suggest you to go for turbo c++ compiler in case you want use graphics
it fully supports it
Gooog. Don't recommend that compiler. Go and get a graphics lib like SDL or Allegro you can draw shapes with them.
Join me on IRC:
Server: irc.daniweb.com
Channel: #C++

Chat Via:
http://daniweb.com/chat/minichat.php
or
Your favorite IRC client.
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 4,025
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: 932
Moderator
vegaseat's Avatar
vegaseat vegaseat is offline Offline
DaniWeb's Hypocrite

Re: graphics in C++

 
0
  #5
Aug 29th, 2005
Originally Posted by prog-bman
Gooog. Don't recommend that compiler. Go and get a graphics lib like SDL or Allegro you can draw shapes with them.
I agree with prog-bman! SDL is free and used a lot for games. For a short code snippet and how to download SDL take a look at:
http://www.daniweb.com/code/snippet193.html
May 'the Google' be with you!
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
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC