Re: headers question



Thank you.

Murray Cumming wrote:
On Mon, 2010-01-11 at 12:02 -0500, Andy Gilman wrote:
I have been working with Gtkmm for about a month, and there are numerous things I am sure I need to know, but what I am wondering about now has to do with the headers. In most of the Gtkmm examples, the comprehensive "include <gtkmm.h> is used. I have copied this and of course it works fine. But would it speed up compilation if I could identify just the files I actually needed?

Maybe, slightly.

And is there an efficient way to do this?

Not that I know of. I just add includes as the compiler tells me I need
them, and don't try to remove unnecessary ones later.

And does either pattern make a difference in the speed with which the executable file is executed?

No, if anything it would affect the size of your executable, though
that's unlikely.


------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - www.avg.com Version: 8.5.432 / Virus Database: 270.14.134/2613 - Release Date: 01/11/10 07:35:00



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]