Sloan wrote:
I want to use MFC to plot Sin Wave . How can I do ?
The _standard_ C++ method to plot a sine wave is to
use ASCII artwork.
For example, use '*' as the point character.
I would create a vector of strings. Each string
represents the points in the horizontal direction.
The vector represents the vertical direction.
Hey, it may not be spectacular but it is portable
and doesn't depend on platform specifics of
untrustworthy mega-businesses.
--
Thomas Matthews
C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq:
http://www.parashift.com/c++-faq-lite
C Faq:
http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book