delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/07/08:32:51

Date: Sat, 7 Feb 1998 08:32:43 -0500 (EST)
Message-Id: <199802071332.IAA14693@p2.acadia.net>
To: gripinc AT hotmail DOT com
Subject: Re: Functions
Cc: djgpp AT delorie DOT com
References: <34dd3e9b DOT 8983879 AT n5 DOT supernews DOT com>
in-reply-to: <34dd3e9b.8983879@n5.supernews.com>
From: swarnerx3 AT acadia DOT net (Scott Warner)
MIME-Version: 1.0

In general, put related functions in one source file, put all your function declarations into a header file, and #include the header file in any module that accesses the function(s).  It would probably be helpful to consult a book on basic C program design before seeking a question in a forum like this one.


In message <34dd3e9b DOT 8983879 AT n5 DOT supernews DOT com>, gripinc AT hotmail DOT com (Neither) wrote:
> How do I split up functions into files, so that I don't get one huge
> piece of source code? I'm using RHIDE by the way. Thanks for your help
>

- Raw text -


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