Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Quick Ada question

Name: Anonymous 2011-10-22 16:45

Hey /prog/, doing an Ada assignment, not as familiar with the language as I'd like...

Why is this declaration giving me compiler issues?

type Sudoku_Board is array (range 1..9, range 1..9) of character;

Says I'm missing an operand, not sure which one.

Name: Guile 2011-10-22 16:47

Do your homework and be a family man.

Name: Anonymous 2011-10-22 16:52

>>2

I am doing my homework, I'm asking real quick what's wrong with my declaration.  I'm not used to Ada's awkward type system.

Name: Anonymous 2011-10-22 17:13

you of character of character;

Name: Anonymous 2011-10-22 17:22

>>4

Wait... what?

Of character twice for a two dimensional array? How would this look?

Name: Mentifex 2011-10-22 17:29


Don't change these.
Name: Email:
Entire Thread Thread List