Message-ID: <362410B8.CE1@golden.net> Date: Tue, 13 Oct 1998 22:47:20 -0400 From: Gloria X-Mailer: Mozilla 3.04 (Win95; I) MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp CC: djgpp AT delorie DOT com Subject: Multi-modules Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com If anyone has read vol.II of "C for Dummies", you'll probably understand my question a little easier. I was working through the final madlib program(madlib2). But I had a problem when I tried to make an .exe out of the three files. Each of the modules used some pointer variables which were defined in two of the modules like this: extern char *whatever; extern char *whatever2; void print_array() { ..... and so on. However, when I tried to compile, it kept saying that it couldn't find those pointers. Is there a different way to indicate that the variables are somewhere else in the program other than "extern". Oh yeah, I tried removing the extern thing and I got some really weird error messages. SOS