Search:

Type: Posts; User: scorche

Search: Search took 0.00 seconds.

  1. Replies
    36
    Views
    4,962

    right... 'cause they're 2 different things ...

    right... 'cause they're 2 different things

    except i'm pointing to a class that I'm refrencing it to. so I'm calling it a reference not because it is a c++ reference, but because in the use of it,...
  2. Replies
    36
    Views
    4,962

    now I get an error here : ...

    now I get an error here :

    myVector[myClass.size-1]._reference_tomyClass = & myVector[myClass.size];


    I think I did it right ... but maybe I missed something


    ***** EDIT
  3. Replies
    36
    Views
    4,962

    I guess that's why I get an error when I'm...

    I guess that's why I get an error when I'm creating the class
  4. Replies
    36
    Views
    4,962

    "So in essence you did it correctly... So what is...

    "So in essence you did it correctly... So what is the problem?"

    I don't know... it gave me an error :)
    but I think it's ok now, must have done something silly...
  5. Replies
    36
    Views
    4,962

    now I'm getting this error i switched to ...

    now I'm getting this error

    i switched to

    class myClass
    {
    myClass& reference;
    }
  6. Replies
    36
    Views
    4,962

    sorry, I've spent the last 2 years sonverting c++...

    sorry, I've spent the last 2 years sonverting c++ practices to actionscript, and now I'm doing it the other way round...

    thanks, I'll give it a go
  7. Replies
    36
    Views
    4,962

    essentialy I want to do this class myClass{...

    essentialy I want to do this


    class myClass{

    myClass *pointer;

    }
  8. Replies
    36
    Views
    4,962

    wouldn't that be pointing to itself then? I...

    wouldn't that be pointing to itself then?

    I want to point to the same type but a different instance
  9. Replies
    36
    Views
    4,962

    reference to self ... so to speak

    Im just getting back into C and Im realizing how much I've forgotten (or didn't know)

    anyhow I'm trying to do some OOP. And I've got a class, where I want to define a pointer to the same class....
Results 1 to 9 of 9