NO

Author Topic: project organization, headers, deleting files  (Read 2581 times)

Chuck Bradley

  • Guest
project organization, headers, deleting files
« on: November 07, 2006, 09:00:39 PM »
I'm having trouble getting started with Pelles C using the IDE.

Before explaining the problem, let me say thanks for providing Pelles C
and the environment. I've used help, the faqs, and the forum, but I
still have some problems.  These are probably due to not knowing where
to find the answers, rather than the answers not being available

I have about 15 programs written in C. I expect to have about 25 to 35
by the time I am done.  Several will go into a DLL. This will include
functions that are intended to be called by users of the DLL and
some that are internal to the DLL. Some others will be main programs
that test some of the components that will make up the DLL. I want
to test as many of the DLL components as I can in this standalone
fashion. Then I want to continue in this bottom up fashion, testing
the routines of the DLL that use the routines that have already been
tested. This means that each routine of the DLL will be used in one or
more programs. The lower level routines will be used in several
programs.  Then I want to make the DLL.  Then I want to use the DLL in
several more programs that will make measurements of the performance
of the DLL.  In addition there will probably be several more programs
that generate test data to be used by the programs that measure the
performance of the DLL.  A function used in one data generator might
be used in others and in several of the measurement programs. What is
the best way to organize things to do what I want?

I created Foo.h and included foo.h in some files and Foo.h in others.
Now all the .c files include foo.h but I still get compile errors if
prototypes are not in Foo.h also. Worse, foo.h appears in the IDE but
I can not find it on the disk. How can I get by with only one .h file?

Is there a way to delete a file from a project or rename it?

Thanks in advance for any suggestions.