December 23rd, 2010, 05:54 AM
What I got so far:
int x = X;
int y = Y;
//The radious, half of the circle length
int r = R;
int sides = Sides;
December 23rd, 2010, 05:37 AM
I see what your saying, but what sort of algorithm could I do this with?
December 22nd, 2010, 05:43 PM
Anyone have any idea how I would do this, been trying to figure it out for ages!
December 22nd, 2010, 04:16 PM
I've almost got it figured, I've got it too do one side of the polygon when a given side is given.
Basically I'm struggling too create it with an infinite number of sides.
December 22nd, 2010, 03:26 PM
Hello basically I've been working on this for 2 days now, I'm completely stuck. I've looked around the internet and can't really find anything in relation.
I have a program that I've created, It...
December 1st, 2010, 11:01 AM
How do I delete threads? Just realised return 0.........
December 1st, 2010, 10:58 AM
Basically I have two files ffs.h and stupid_headers.cpp
I'm testing this because I cannot get headers to work in my main application.
When I run this application system("pause") is completely...
December 1st, 2010, 09:29 AM
I forgot to link the getter and setter to the class ::
December 1st, 2010, 09:23 AM
Get and set functions are just a public interface for getting read/write access to private data members:
How to I implement this with struct in the private data member of the class.
December 1st, 2010, 09:13 AM
But how do I do this?
I mean how do I relate the struct created in the constructor to Get function?
December 1st, 2010, 09:05 AM
Well how do I implement the Getter and Setter using a struct?
I've tried cout << = *mp->name;
But I just get lots of errors :-/
December 1st, 2010, 08:59 AM
Basically I'm pretty new to C++, I'm trying to implement the getting and setter function within a class data member using a struct, I got no idea where to start. I've looked around the internet but...