hello!
i have a problem with my code,it keeps crashes at the following point:
[B]a.h[/B]
class Value{
.....
public:
Value(char* b);
}
class A{
private:
.......
Value* value;
........
public:
A(char* tok);
}
a.cpp
A::A(char* tok){
.......
*value = Value(tok)
......}
i can tell i do something wrong with the pointer but i cant find it..