943,355 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 10274
  • C++ RSS
Sep 4th, 2004
0

graphics in C++

Expand Post »
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?
Similar Threads
Reputation Points: 12
Solved Threads: 0
Newbie Poster
iamboredguy is offline Offline
23 posts
since Aug 2004
Aug 28th, 2005
0

Re: graphics in C++

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
cppforlife is offline Offline
20 posts
since Aug 2005
Aug 28th, 2005
0

Re: graphics in C++

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
SpS
Reputation Points: 70
Solved Threads: 32
Posting Pro
SpS is offline Offline
598 posts
since Aug 2005
Aug 29th, 2005
0

Re: graphics in C++

Quote 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.
Reputation Points: 14
Solved Threads: 4
Junior Poster
prog-bman is offline Offline
108 posts
since Nov 2004
Aug 29th, 2005
0

Re: graphics in C++

Quote 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
Moderator
Reputation Points: 1333
Solved Threads: 1403
DaniWeb's Hypocrite
vegaseat is offline Offline
5,792 posts
since Oct 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Can we access Databases through C or C++
Next Thread in C++ Forum Timeline: Header organization (base and derived classes)





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC