Mail Archives: djgpp/1997/06/12/12:28:07
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
---------------------------------------------------------------------------
- Raw text -