| Answers (I know, I'm reviving an old post, sorry.)
Nope, didn't get it from a tutorial. Just found out about new and decided to give it a try.
Thanks for the corrections.
I'm wondering if there's any way to create a dynamic char or float without rewriting the code. E.g. pass the data type and have the program use that instead of int. Am I clear enough? I don't know.
dVar blarg( float, 2 );
dVar w00t( char, 6 );
dVar foobar( long, 3 );
Any ideas? |