nice, i forgot to show my constructor
the constructor basically does this:
cppclass::cppclass(int * passedpointer)
{
b = passedpointer;
}
thanks for the reply that was a problem but not what i was looking for
haha sorry about that, bad psuedocode, as i said im tired. but what i was doing was actually
cppclass foobar(a); where i had written cppclass foobar;
sorry about that, i'm thinking in like 3 languages at once here and sometimes stuff that's wrong in all of them comes out.
i should also the problem is at run time so it isn't any sort of obvious error like that, it has something to do with my pointer copying.
thanks, that was close enough for me to figure out what i needed
and sorry about my lack of ability to explain, i am extremely worn out by the time i get to this board :o