delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/14/22:30:25

From: Bjorn Hansen <viking AT xyz DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: 2 quick questions
Date: Fri, 14 Aug 1998 18:18:41 -0800
Organization: ISPNews http://ispnews.com
Lines: 18
Message-ID: <35D4F001.4A3E2B2D@xyz.net>
NNTP-Posting-Host: hom-3-36.xyz.net
Mime-Version: 1.0
NNTP-Posting-Date: 15 Aug 1998 02:20:46 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

1]  what does the exit code tell you?

2] why does the compiler have a warning message if you don't use a
caste? when you do something like this

int i;
int *ip;
ip=i;

instead of this

int i;
int *ip;
ip=(int *)i;


Bjorn Hansen

- Raw text -


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