Important alert: (current site time 7/15/2013 5:31:09 PM EDT)
 

winzip icon

[ A Very Polyvalent Polygon Drawing Software ]

Email
Submitted on: 12/20/2004 4:53:39 PM
By: Gonzales Cenelia  
Level: Intermediate
User Rating: By 5 Users
Compatibility: Microsoft Visual C++
Views: 33322
author picture
(About the author)
 
     This program can draw any polygon that is a "regular polygon", a "star polygon" or a "star figure". The code for the program is very simple and straight forward and the results are pretty cool! It is definitly pretty good for the eyes! For more informations about polygons in general,you can visit the following site: http://mathworld.wolfram.com/RegularPolygon.html my website: www.ai-search.4t.com

 

INCLUDE files:

Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
//**************************************
//INCLUDE files for :[A Very Polyvalent Polygon Drawing Software ]
//**************************************
#include <afxwin.h>
#include <algorithm>
#include <vector>
#include <cmath>
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 49 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
1/27/2005 11:22:47 AMGonzales Cenelia

comments or votes are very welcome!
(If this comment was disrespectful, please report it.)

 
10/2/2005 1:44:51 AMVivek sadh

when i am running only a blank window is there i cannot understand what is it.
pl explain
(If this comment was disrespectful, please report it.)

 
10/2/2005 9:58:48 AMGonzales Cenelia

can you provide more explanation on what the problem is,because i can't seem to understand totaly what you meant. When you first started the program you will get a blank window but then you will have to go to the menu to make the appropriate selection.
(If this comment was disrespectful, please report it.)

 
10/13/2005 12:07:58 PMMike

i cant even get it to run
(If this comment was disrespectful, please report it.)

 
10/13/2005 1:30:31 PMGonzales Cenelia

which compiler,are you using? These project will only work with the visual C++ compilers,since the program uses the MFC libraries. I have use the visual C++ 6.0 compiler for compiling the current project and it compiles without any errors or warnings.
(If this comment was disrespectful, please report it.)

 
3/10/2006 4:13:41 AMwxx

so bad
(If this comment was disrespectful, please report it.)

 
7/13/2006 6:34:12 AMleykun

this to express my pleasure that i feel on ur source code.they are fantastic.please send me some c++ code on geometry.
(If this comment was disrespectful, please report it.)

 
8/16/2006 2:39:38 AMemmanuel

I want a program that show circle output

(If this comment was disrespectful, please report it.)

 
4/21/2007 6:50:08 PMNicole

Is there a way to convert this code to pain ANSI C?
(If this comment was disrespectful, please report it.)

 
4/21/2007 10:16:06 PMGonzales Cenelia

ofcorse there is, you would need to use the win32 api functions to do it instead of using MFC
(If this comment was disrespectful, please report it.)

 
8/17/2009 1:17:14 PMijammer

wanna learn c++, try http://www.wiqqet.com
(If this comment was disrespectful, please report it.)

 
1/21/2010 3:13:34 PMxingo

i cant get it to run

(If this comment was disrespectful, please report it.)

 
1/7/2011 3:12:53 AMOlimjon

Work great. I used Visual Studio 2010 and made some modification. Thank you bro
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.