Archived

This topic is now archived and is closed to further replies.

help shape class

This topic is 5699 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i''m new in c++ i want to make a shape class with contains point,rectangle,triangle,circle and line.the program can draw and resize only.anyone have done this before can u send the program to me as an example or anyone can teach me how to write.

Share this post


Link to post
Share on other sites
I assume you want to write a program like Microsoft''s Paint, but a deal simpler. From what you''re saying, I think you''re rather new to C++, and Windows programming in general (no offense.) I suggest you find a C++ book, or an online tutorial, which includes the GDI (Graphical Device Interface, which lets you draw shapes in Windows.)

Share this post


Link to post
Share on other sites