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

Search:

Type: Posts; User: bramp

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    9,747

    Re: Addressof Unary Functor

    Sorry, I think you miss understood... The vector of territories will not change throughout the game. It is a list of all territories, not just the ones which aren't conquered.

    I will have other...
  2. Replies
    9
    Views
    9,747

    Re: Addressof Unary Functor

    A little paranoid perhaps, but I am aware of the problem.

    Well just out of interest, lets consider a different solutions, but first I will provide some background.

    I'm creating a program to...
  3. Replies
    9
    Views
    9,747

    Addressof Unary Functor

    Hi,
    I have an vector of objects

    std::vector<Class> v1;

    and now I want to make a vector of Class *, which index pointing to a element in v1. for example

    std::vector<Class *> v2;
    v2[0] =...
  4. Replies
    2
    Views
    4,180

    Easily create string message for exception

    Hi,
    For a long time I’ve wondered if there is a simplier way to do this, but I’ve never found it. If I have the following code:



    void SomeClass::SomeMethod(const char *arg) {
    If...
Results 1 to 4 of 4





Click Here to Expand Forum to Full Width

Featured