I get the following error on the first line of my array...
" syntax error before `}' token "
My eyes are about to fall out of my skull. Can someone take a look for me, everything seems to be fine, but maybe I'm blind.
Here is the code in question...
int bin[26][5]={ {0,0,0,0,0},(0,0,0,0,1},{0,0,0,1,0},{0,0,0,1,1},{0,0,1,0,0},{0,0,1,0,1}, {0,0,1,1,0},{0,0,1,1,1},{0,1,0,0,0},{0,1,0,0,1},{0,1,0,1,0},{0,1,0,1,1}, {0,1,1,0,0},{0,1,1,0,1},{0,1,1,1,0},{0,1,1,1,1},{1,0,0,0,0},{1,0,0,0,1}, {1,0,0,1,0},{1,0,0,1,1},{1,0,1,0,0},{1,0,1,0,1},{1,0,1,1,0},{1,0,1,1,1}, {1,1,0,0,0},{1,1,0,0,1} };
The thing marked in red in a round brace which should be replced by curly braces.
Hope it helped, bye.
~s.o.s~
Failure as a human
Administrator
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734