It depends on the set of data types you want to store. If they are simple, you can make union as advised by Lindley.
If data types are complex, make a base class, and derive other 'data-type'...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: Ajay Vijay Search: Search took 0.62 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |