Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / [LOCKED] Getting the "lower" class pointer in c++. How?

Author
Message
General Reed
18
Years of Service
User Offline
Joined: 24th Feb 2006
Location:
Posted: 29th Nov 2007 11:41
I need to know how to get the pointer from the "previous/lower" class. For example if i had the following:


On line 6 is where i find trouble. Can anyone help me?
PS, i know you can simply pass the vars from one class to anotehr through the constructor, but i dont really want to do that, if there is an alternitive.
Thanks - General Reed

CPU: AMD X2 6000+ 3.0ghz GFX: NVIDIA BFG Geforce 8800GTS 640MB OC-550mhz core RAM: 2048mb

Login to post a reply

Server time is: 2024-11-19 15:39:31
Your offset time is: 2024-11-19 15:39:31