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

Newsgroups: comp.os.msdos.djgpp
Subject: what am I doing wrong.
Message-ID: <3399c3e5.7015538@nbisrv.nbi.dk>
From: kdor AT geocities DOT com (Kristian Dorland)
Date: Sat, 07 Jun 1997 21:06:00 GMT
Reply-To: kdor AT geocities DOT com
Nntp-Posting-Host: ppp31.vj.tele.dk
Lines: 16
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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;
  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