From: "Christopher Roche" Subject: Re: double trouble References: <35DEDC2F DOT BB81D366 AT virgin DOT net> Organization: Roxoft Interactive Message-ID: <01bdd030$99c257a0$0818d3d4@billy> Newsgroups: comp.os.msdos.djgpp Date: Tue, 25 Aug 1998 10:19:24 -0400 Lines: 29 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 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< } > > 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. > >