Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: abakiz

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    4,510

    Re: Set Sided Polygon in C++

    What I got so far:




    int x = X;
    int y = Y;
    //The radious, half of the circle length
    int r = R;
    int sides = Sides;
  2. Replies
    9
    Views
    4,510

    Re: Set Sided Polygon in C++

    I see what your saying, but what sort of algorithm could I do this with?
  3. Replies
    9
    Views
    4,510

    Re: Set Sided Polygon in C++

    Anyone have any idea how I would do this, been trying to figure it out for ages!
  4. Replies
    9
    Views
    4,510

    Re: Set Sided Polygon in C++

    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.
  5. Replies
    9
    Views
    4,510

    Set Sided Polygon in C++

    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...
  6. Replies
    1
    Views
    351

    Re: Very Basic System Pause problem

    How do I delete threads? Just realised return 0.........
  7. Replies
    1
    Views
    351

    [RESOLVED] Very Basic System Pause problem

    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...
  8. Replies
    8
    Views
    3,687

    Re: Using getter and setter in Class

    I forgot to link the getter and setter to the class ::

    Thanks anyhow!
  9. Replies
    8
    Views
    3,687

    Re: Using getter and setter in Class

    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.
  10. Replies
    8
    Views
    3,687

    Re: Using getter and setter in Class

    But how do I do this?

    I mean how do I relate the struct created in the constructor to Get function?
  11. Replies
    8
    Views
    3,687

    Re: Using getter and setter in Class

    Ahh thanks,

    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 :-/
  12. Replies
    8
    Views
    3,687

    Using getter and setter in Class

    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...
Results 1 to 12 of 12


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center