Search:

Type: Posts; User: QuantumPete

Search: Search took 0.02 seconds.

  1. Replies
    31
    Views
    17,458

    Erm, actually, no he's not. It's up to the...

    Erm, actually, no he's not. It's up to the compiler how to arrange your variables in memory and it could well have put array before ray. Maybe because it arranges them by descending size or because...
  2. Replies
    31
    Views
    17,458

    A Very Bad Thing. Probably the only thing that is...

    A Very Bad Thing. Probably the only thing that is saving you is the fact that "ray" is a global. Thus it will be stored in the global part of memory, which on many architectures is at the bottom of...
  3. Replies
    31
    Views
    17,458

    There is your problem. You can't do that. Arrays...

    There is your problem. You can't do that. Arrays can't grow dynamically. It's pretty much the definition of an array that it has a set size. Once an array has a certain set of dimensions it can't be...
  4. Replies
    31
    Views
    17,458

    It looks to me like the variable is called new...

    It looks to me like the variable is called new (how that got by the compiler I don't know), no dynamic allocation.

    QuantumPete
  5. Replies
    31
    Views
    17,458

    My money is still on stack corruption ;) ...

    My money is still on stack corruption ;)

    QuantumPete
  6. Replies
    31
    Views
    17,458

    Sounds like a classic stack corruption. Can you...

    Sounds like a classic stack corruption. Can you post your code?

    QuantumPete
Results 1 to 6 of 6