943,513 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 73922
  • C++ RSS
Mar 31st, 2004
0

C++ graphics

Expand Post »
hey... im in a c++ class at school but i also program at home. my teacher refuses to teach me graphics and i wanted to know if there was an easy way to just basically cout a graphic. if this is noobish and i need to learn a lot more tell me, if not can you just give a short code sample?

thanx...
Similar Threads
Reputation Points: 45
Solved Threads: 0
Light Poster
Bleek is offline Offline
28 posts
since Mar 2004
Mar 31st, 2004
0

Re: C++ graphics

you need to learn a lot more to use graphics. most windows apps use the win32 API to display windows/pics/etc.. here is a tutorial bout it tho:
http://www.relisoft.com/win32/winnie.html
Reputation Points: 47
Solved Threads: 2
Junior Poster in Training
infamous is offline Offline
77 posts
since Mar 2004
Apr 2nd, 2004
1

Re: C++ graphics

this is where i first learned to make a GUI (which btw is not taught in most C/C++ classes becuase it is not standard, and is OS dependant)

I prefer Win32 API over MFC, but I reccomend you try both and see which one you like better:

http://winprog.org/tutorial/

As for harcore graphics such as Direct Draw 3d and DirectX heres a good source to start:

http://www.drunkenhyena.com/

try making a screen saver
Reputation Points: 28
Solved Threads: 9
Posting Whiz in Training
BountyX is offline Offline
222 posts
since Mar 2004
Dec 4th, 2008
0

Re: C++ graphics

There are a lot of beginner;s resources and such at http://www.thefreecountry.com and http://www.freeprogrammingresources.com for programmers, especially graphics. You also want to check out Adam's assembler tutorial and Denthor of Asphyxia's assembly language tutorials-- the latter is really graphics-oriented--for the real workings of what goes on. They also have several really good PutPixel algorithms, which is really all you need for graphics programming. They can be found at www.programmersheaven.com and gamedev.net, respectivly.

P.S. PERSEVERE!!! I cannot stress how important this is to learning assembly language. It is not like C++ at all, but it is very educational.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Rand al'Thor is offline Offline
10 posts
since Mar 2008
Dec 5th, 2008
0

Re: C++ graphics

I suggest Allegro, its an excellent API, my favorite for 2d work
allegro.cc
Reputation Points: 10
Solved Threads: 3
Junior Poster in Training
Manutebecker is offline Offline
51 posts
since May 2008

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: your help is needed (loops)
Next Thread in C++ Forum Timeline: Need help solving errors: C2533, C2511, C2144.





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


Follow us on Twitter


© 2011 DaniWeb® LLC