|
-
Nov 26th, 2000, 03:45 AM
#1
Thread Starter
Frenzied Member
Hello,
What are the C++ equivelents to Variants and Collections ?
-
Nov 26th, 2000, 06:31 AM
#2
Monday Morning Lunatic
There aren't any, unless you write your own.
However, you can use a variant through COM, but it's nowhere near as easy as VB. Anyway, you should always use proper data types.
Collections - look at the STL linked list classes.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Nov 26th, 2000, 06:43 AM
#3
Frenzied Member
If you are learning C++ then i assume you want to be a proffessional programmer and as such you should avoid variants at all cost. Memory is precious
-
Nov 26th, 2000, 07:19 AM
#4
Hyperactive Member
if u *really* want to do variants, include <ole2.h>
(i think). then you can use variants, but you need to call stuff like VariantInit to even start using them - i'd go look at msdn
buzzwords are the language of fools
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
|