"Andrew Chalk" <ac****@XXXmagnacartasoftware.com> wrote in message
news:sC*********************@newssvr12.news.prodig y.com...
| I can:
|
| typedef char D1;
|
| why can't I:
|
| typedef char[1400] D2;
|
| I.e. declare a typedef corresponding to 1400 bytes.
You can, but you have to write it as follows:
typedef char D2[1400];
Remember that the expression that follows typedef should
always follow the same syntax as a variable declaration.
Note: for quick answers to simple problems, posting
to comp.lang.c++ (without cross-posting to the
*.moderated one) will provide you with faster
responses...
hth
--
http://ivan.vecerina.com