hi,how can i need a variable from one class in two others:
i create a bufferclass which has the functions "put" and "get" and so on....
i need "put" in one class and "get" in the other!!
1.) is it good to make this variable global (i do not think so) or
2.) how can i solve my problem.
maybe someone can give me a hint
i create a bufferclass which has the functions "put" and "get" and so on....
i need "put" in one class and "get" in the other!!
1.) is it good to make this variable global (i do not think so) or
2.) how can i solve my problem.
maybe someone can give me a hint