Search:

Type: Posts; User: seeplusplus

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    4,129

    Creating a Polygon with n sides

    I need help with coming up with the algorithm that is required to create a ngon. The user gives the center of the polygon (x, y), the distance to the vertices (r), and the number of sides.

    So for...
  2. Replies
    2
    Views
    5,790

    Stdin Line Parsing C++

    Hello all, I'm working on a simple drawing program in C++ that out puts postscript commands. Since I'm still pretty new to C++, I'm not sure if there is a better and more reliable way to dissect the...
Results 1 to 2 of 2