HW help. Intro to Visual C++.

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

Join Date: Jan 2009
Posts: 5
Reputation: Cyberbanana1 is an unknown quantity at this point 
Solved Threads: 0
Cyberbanana1 Cyberbanana1 is offline Offline
Newbie Poster

HW help. Intro to Visual C++.

 
0
  #1
Jan 13th, 2009
In our class we have usually been just programming with the command prompt, no visual stuff. but now, in what my teacher calls "making pretty pictures" we're supposed to make a graph. The only this is, i have no idea how to make actual pictures or colors come out. I use microsoft visual studio 9.0, i'm wondering if it comes with any standard graphics libraries, and a way to like "output" (idk if thats the right word) an individual pixel of a certain color. Thanks
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 977
Reputation: MosaicFuneral is just really nice MosaicFuneral is just really nice MosaicFuneral is just really nice MosaicFuneral is just really nice MosaicFuneral is just really nice 
Solved Threads: 92
MosaicFuneral's Avatar
MosaicFuneral MosaicFuneral is offline Offline
Posting Shark

Re: HW help. Intro to Visual C++.

 
1
  #2
Jan 13th, 2009
http://www.relisoft.com/win32/index.htm

Create a window, draw a graph.
"Jedenfalls bin ich überzeugt, daß der Alte nicht würfelt."
"I became very sensitive to what will happen to all this and all of us." -Two geniuses named Albert
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 357
Reputation: death_oclock will become famous soon enough death_oclock will become famous soon enough 
Solved Threads: 37
death_oclock's Avatar
death_oclock death_oclock is offline Offline
Posting Whiz

Re: HW help. Intro to Visual C++.

 
0
  #3
Jan 13th, 2009
Does your teacher explain anything else about making the graph? You can make a table of sorts in a console screen.
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 5
Reputation: Cyberbanana1 is an unknown quantity at this point 
Solved Threads: 0
Cyberbanana1 Cyberbanana1 is offline Offline
Newbie Poster

Re: HW help. Intro to Visual C++.

 
0
  #4
Jan 14th, 2009
well we have already made a program that uses the newton method of finding zero's of an equation, such as x^2-1 to find zeros in the complex plane. basically he wants us to find which starting points will evaluate to a negative value, and which will evaluate to a positive one. The problem is, i have literally no knowledge of anything visual. I would make a double for loop, and if the function returned a positive value, somehow output a blue pixel, and if it was negative, output a green one.
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 5
Reputation: Cyberbanana1 is an unknown quantity at this point 
Solved Threads: 0
Cyberbanana1 Cyberbanana1 is offline Offline
Newbie Poster

Re: HW help. Intro to Visual C++.

 
0
  #5
Jan 14th, 2009
all i need to do is make blue and green pixels come out. It doesn't need to be in an application or anything. My teacher discussed that we'd be doing it outside the Operating System?
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: 327 | Replies: 4
Thread Tools Search this Thread



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

©2003 - 2009 DaniWeb® LLC