delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/12/07:30:33

Date: Thu, 12 Jun 1997 13:29:09 +0200
From: Teun Burgers <burgers AT ecn DOT nl>
Subject: Re: what am I doing wrong.
To: kdor AT geocities DOT com
Cc: djgpp AT delorie DOT com
Message-id: <9706121129.AA31164@joost.ecn.nl>
MIME-version: 1.0

Put #include <stdio.h> in your file.

> 
> I have just installed djgpp for the first time, and I can4t create c-
> programs that4s 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:
> 
> 
  #include <stdio.h>
> main()
> 
>   {
>   int one == 1234;
>   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.
> 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019