Re: How can i find when a variable is out of scope?
From: Karl Heinz Buchegger (kbuchegg_at_gascad.at)
Date: 03/14/05
- Next message: Ioannis Vranos: "Re: Teaching new tricks to an old dog (C++ -->Ada)"
- Previous message: nati: "WAN IP adress"
- In reply to: groleo_at_gmail.com: "How can i find when a variable is out of scope?"
- Next in thread: groleo_at_gmail.com: "Re: How can i find when a variable is out of scope?"
- Reply: groleo_at_gmail.com: "Re: How can i find when a variable is out of scope?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 14 Mar 2005 09:52:50 +0100
"groleo@gmail.com" wrote:
>
> Hi.
> I have some problems with variables :D
>
> I have the classes given below:
>
> The problem is when I try to acces Commands().sock->m_sock, from
> inside Message();
> When I'm using m_sock inside Commands(), it has one value.
> When I'm using m_sock inside Message() it has another value.
> The thing is that i'm not modifying the m_sock value;
Please show the exact code that implements this.
If possible, create a short, complete test program which shows just
that error in action.
-- Karl Heinz Buchegger kbuchegg@gascad.at
- Next message: Ioannis Vranos: "Re: Teaching new tricks to an old dog (C++ -->Ada)"
- Previous message: nati: "WAN IP adress"
- In reply to: groleo_at_gmail.com: "How can i find when a variable is out of scope?"
- Next in thread: groleo_at_gmail.com: "Re: How can i find when a variable is out of scope?"
- Reply: groleo_at_gmail.com: "Re: How can i find when a variable is out of scope?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|