Re: CODE NEWBIE class declaration and function pointers

From: Stephen Miller (
Date: 05/12/00

Okay I understand that c is not c++ and was a mistake on my part.  What I
wanted to know was how to do the code below for classes...

>struct mine myarray[4] = {
>  {1,2.0,'c'},
>  {2,1,3},
>  {5.0,6.0,7.0},
>  {'a','b','c'}

Thanks for the info on the pointers for functions, extremely helpful.

I know that you can do one class construction on one line, but is it
possible to do something similar above while instantiating an array of
objects using the class constructer to init variables? thanks.


     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

This archive was generated by hypermail 2b30 : 04/10/01 PDT