|
-
Mar 20th, 2000, 12:05 AM
#1
Thread Starter
Junior Member
In Visual Basic, Is there a way to implement something like Union in C++ (ie more than one variable sharing the same memory space)
-
Mar 20th, 2000, 12:56 AM
#2
Unfortunately, VB doesn't support Union.
-
Mar 20th, 2000, 01:38 AM
#3
Frenzied Member
I'm not exactly sure what you mean by union as I'm not too hot at C++.
what you can do is set up a class module with one property and just copy that around with the set command, whatever changes you make to one will be made to all the others, youcan make a new one with the new keyword and the new instance will act independantly of the others.
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
|