From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot) Newsgroups: comp.os.msdos.djgpp Subject: Re: It's a Bug? Please. Date: 24 Apr 1997 15:27:16 GMT Organization: Oxford University, England Lines: 23 Message-ID: <5jnu4k$9pp@news.ox.ac.uk> References: NNTP-Posting-Host: sable.ox.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Miguel Murillo (mmurillo AT ideafix DOT cps DOT unizar DOT es) wrote: : Error : ... : (a++)++; AFIAK you can only increment or decrement lvalues; `(a++)' is not an lvalue. : Fine : : (a++); : (a++); Here `a' is an lvalue, so it is incremented twice. If you want to write it in one line, try: a+=2; -- George Foot Merton College, Oxford