[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pbmserv-dev] Question about derived types.
>I wish to set up a double array of integers of type ReadWriteIntList
>How may I do this properly?
>
>I tried to set Board to class type ReadWriteIntList and then I tried
>to do this:
>Board board[10];
>but when I tried to read the board, I got errors:
>board.Read(game);
>
>I tried this, but this fails also:
>for (loop=0;loop<10;loop++)
> board[loop].Read(game);
>
>I faintly remember seeing this done before, but I cannot recall which
>program had this done properly. Any help?
>Thanks in advance.
What do the error messages say? Is it a compile-time or run-time error?