Re: How to draw a simple division circuit?
"veronica" <veronicazhu@gmail.com> wrote in message
news:1181898439.410168.325910@i13g2000prf.googlegroups.com...
I'm working on the demostration of the encoder of cyclic code
using visual c++.
First a division circuit should be showing .just like
http://www.ee.uwa.edu.au/~roberto/teach/itc314/java/CRC/crc.html
The Cyclic Code Encoder / Decoder is great.
But I'm new to vc++ .So have no idea how to draw the circuit.
Is there any api easy to use? Or I should combine some
rectangle/line/circle to get it.
It's not really the subject of this group but what you are trying to do
comes under the general heading of the Graphics Device Interface (GDI). The
best group to post such questions would be
microsoft.public.win32.programmer.gdi
On your way over check out the Ellipse() (draws an ellipse of which a circle
is a special case), MoveToEx() and Lineto() for drawing lines, and
PolyLine() for drawing line segments along a continuous path.
Regards,
Will