C++ Graphics!!

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

Join Date: Jan 2007
Posts: 44
Reputation: lotsofsloths is an unknown quantity at this point 
Solved Threads: 0
lotsofsloths lotsofsloths is offline Offline
Light Poster

C++ Graphics!!

 
0
  #1
Mar 9th, 2007
OK,
I have ben programming for about 6 monthes but never done real graphics!! I was wondering, how i could implement graphics into a program??
If this helps any i am using Visual C++ 2005 Express Edition...
--
The Statement BELOW is FALSE.
-\/-/\-\/-/\-\/-/\-\/-/\-\/-/\-\/-/\-\/-
The Statement ABOVE is TRUE.
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,051
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 332
Team Colleague
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: C++ Graphics!!

 
0
  #2
Mar 9th, 2007
Depends what you are trying to do with graphics. There isn't a standard way to do console graphics, although you can use the WinAPI to accomplish it if you choose.
Here's a sinppet that accomplishes this: http://www.daniweb.com/code/snippet173.html

The other way of doing graphics is through a Windows GUI application, which means you will have to display a Win32 window before you can draw graphics in it.
"Technological progress is like an axe in the hands of a pathological criminal."

All my posts may be freely redistributed under the terms of the MIT license.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,190
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 534
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: C++ Graphics!!

 
0
  #3
Mar 9th, 2007
yeah you can either do plain old win32 or mfc
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,051
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 332
Team Colleague
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: C++ Graphics!!

 
0
  #4
Mar 9th, 2007
>yeah you can either do plain old win32 or mfc
MFC is actually a WinAPI wrapper, so either way you'd have to use the Win32 API.
"Technological progress is like an axe in the hands of a pathological criminal."

All my posts may be freely redistributed under the terms of the MIT license.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: C++ Graphics!!

 
0
  #5
Mar 10th, 2007
and he can't use MFC because VC2005E doesn't support MFC.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 1,311
Reputation: vishesh is on a distinguished road 
Solved Threads: 36
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Re: C++ Graphics!!

 
0
  #6
Mar 10th, 2007
Originally Posted by jwenting View Post
and he can't use MFC because VC2005E doesn't support MFC.
Perhaps MFC classes are available, but we cannot do something like double click and write code. I never used MFC but I just saw an option in VC2005Ex to include MFC library.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,190
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 534
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: C++ Graphics!!

 
0
  #7
Mar 10th, 2007
you can use MFC in VS2005 express if you install the Platform SDK . I do this myself
Last edited by jbennet; Mar 10th, 2007 at 9:19 am.
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 44
Reputation: lotsofsloths is an unknown quantity at this point 
Solved Threads: 0
lotsofsloths lotsofsloths is offline Offline
Light Poster

Re: C++ Graphics!!

 
0
  #8
Mar 10th, 2007
uhh!!
what is all that!?!
--
The Statement BELOW is FALSE.
-\/-/\-\/-/\-\/-/\-\/-/\-\/-/\-\/-/\-\/-
The Statement ABOVE is TRUE.
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,619
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 468
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: C++ Graphics!!

 
0
  #9
Mar 10th, 2007
What kind of graphics ? Graphics as in related to games or graphics related to GUI widgets like buttons, image boxes, text boxes etc. ?
I don't accept change; I don't deserve to live.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: C++ Graphics!!

 
0
  #10
Mar 11th, 2007
Originally Posted by jbennet View Post
you can use MFC in VS2005 express if you install the Platform SDK . I do this myself
not according to the MSDN forums...
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
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