Date: Thu, 12 Jun 1997 12:27:18 -0400 (EDT) From: Patrick To: Kristian Dorland cc: djgpp AT delorie DOT com Subject: Re: what am I doing wrong. In-Reply-To: <3399c3e5.7015538@nbisrv.nbi.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit Precedence: bulk On Sat, 7 Jun 1997, Kristian Dorland wrote: > I have just installed djgpp for the first time, and I canīt create c- > programs thatīs working properly. Every time I run a program compiled > with djgpp, there is somthing wrong with the contents of the integers > and the floatings. An example: > > > main() > > { > int one == 1234; The == is used to test for equality. Use = to assign. :) > printf("%d",one); > } > > The output will always be 5492 and not 1234. Why? What am I doing > wrong. It only happens on my own computer. Is there somthing wrong > with the installation of djgpp. Please help me. > --------------------------------------------------------------------------- Patrick email: url: Jenkins pjenki1 AT gl DOT umbc DOT edu http://www.gl.umbc.edu/~pjenki1 ---------------------------------------------------------------------------