delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/22/22:16:43

From: "Jason, Stacey and Noah Huebel" <jhuebel AT pnx DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: #include statements necessary?
Date: Sat, 22 Aug 1998 21:16:57 -0500
Organization: ISPNews http://ispnews.com
Lines: 17
Message-ID: <6rntn7$fa3$1@news12.ispnews.com>
NNTP-Posting-Host: ppp045.pnx.com
NNTP-Posting-Date: 23 Aug 1998 02:10:47 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I am very new to using DJGPP, so bear with me.  I am using RHIDE as my
editor.  Therefore, please pinpoint where the following "problem" may be
occurring:

I have been using some example code to learn C.  But I noticed one time that
when I accidentally left out an #include for string.h (for strlen, etc), the
program still compiled and ran without error.  So, does RHIDE automatically
add these #include statements if they are left out?  I noticed similar
results if I left out stdio.h.

If RHIDE *does* fix those problems, is there a way I can disable this
feature?  I want to know *any* problems I may have in my code, since most
other IDEs/compilers aren't that forgiving.

Jason Huebel


- Raw text -


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