Mail Archives: djgpp/1998/08/25/11:02:51
Your missing the semi-colons (;) from your first 2 statements.
"He was a self made man who owed his lack of success to nobody"
Christopher Roche
Newcastle, The United Kingdom of Great Britain and Northern Ireland.
Rochey AT CompuServe DOT Com
Stephen Snape <stephen DOT snape AT virgin DOT net> wrote in article
<35DEDC2F DOT BB81D366 AT virgin DOT net>...
> hi,
>
> Could someone tell me whats wrong with this,
>
> double var <----------
> int num <----------
>
> void check_bit(void)
> {
> return var<<num;
> }
>
> DJGPP won't let this happen. I can't access a bit in a double, why? It
> keeps saying invalid operand to binary, and it's driving me mad.
>
> Thanks in advance, reply in e mail if you want,
>
> Steve.
>
>
- Raw text -