I have a class called test with a public variable called abc in it,
this variable can be altert in the main (using "test test;" as a
constructor) but when i try to alter it in a funtion of another class
it goes wrong! (again using the "test test;" constructor)
You should know that when im altering it i actually calling a
function who alters it like:
test::altervar(string newvar)
{
abc=newvar;
}
Now when i call another function it still recognizes the previous
value of abc (given in main in this case) to be its value
Weird! can't figure it out myself, thx for any help you can give me