|
-
November 12th, 2010, 01:46 PM
#5
Re: Static variable in non-static member function?
 Originally Posted by Lindley
It sounds like you want a simple, non-static class member?
 Originally Posted by acppdummy
Why didn't I think of that? I will give it a try. Thanks!
Thinking about it again, it is really preferred to have the variable encapsulated inside the member function as opposed to hanging outside the function though.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|