From: "marciom" Subject: Code split Newsgroups: comp.os.msdos.djgpp X-Client-NNTP-Posting-Host: modem71.mcanet.com.br/200.219.142.106 Followup-To: comp.os.msdos.djgpp X-TWRN-Tag: 932352462815 Lines: 32 Message-ID: Date: Mon, 19 Jul 1999 02:47:41 GMT NNTP-Posting-Host: 216.200.3.205 X-Trace: c01read02-admin.service.talkway.com 932352461 216.200.3.205 (Sun, 18 Jul 1999 19:47:41 PDT) NNTP-Posting-Date: Sun, 18 Jul 1999 19:47:41 PDT Organization: Talkway, Inc. To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com hello all, I'm developing a small MS-DOS database aplication using DJGPP, RHIDE (and ALLEGRO as GUI) and I've decided to put the code in separated files by function: - fichario.c (main code) - dados.c (data manipulation code) - interface.c (interface code) and - fichario.h (needed by all above!!!). In "fichario.c" I have the following initialization: #include #include "fichario.h" #include "dados.c" #include "interfac.c" Having split the code in different files I now just can debug step-by-step the code in main file "fichario.c". How do I put it all (maybe using a Project) in a way that I can debug/trace code in every file? I thank you masters in advance, Marcio Fortaleza, CE, Brazil -- Posted via Talkway - http://www.talkway.com Exchange ideas on practically anything (tm).