CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 23

Threaded View

  1. #10
    Join Date
    Apr 2009
    Posts
    18

    Re: static variables

    hmm.. ok
    so wht other option do i have so that i can get the value of j=4?
    or perhaps that i could capture the same instance in two classes?

    when i set the breakpoint in B where the new instance is created , thats where j is set to 0

    thank you
    Last edited by nightscorpion; May 11th, 2009 at 08:58 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured