Re: any error in the code
Richard Heathfield wrote:
Yes, it's inelegant. But why does it increase compilation time? The time
required to read the headers must be too trivial to be calculated and
included in 'compilation time'. Or not?
--
Joe Wright
"Everything should be made as simple as possible, but not simpler."
--- Albert Einstein ---
Richard Heathfield wrote:
Bartc said:
>
>
Partly, it increases compilation time. But I think most people's *real*
objection to it is that it's inelegant.
>
>
>Richard Heathfield wrote:
>>
>What's the disadvantage of just including *all* of the standard C headers
>(or more likely creating a single header file that includes them)?
>>
>>Well, you're right - I'm forever forgetting to #include <string.h>,
>>and being bluntly reminded of the fact only when I compile the code
>>on a Win32 box
>>and being bluntly reminded of the fact only when I compile the code
>>on a Win32 box
>(or more likely creating a single header file that includes them)?
Partly, it increases compilation time. But I think most people's *real*
objection to it is that it's inelegant.
>
required to read the headers must be too trivial to be calculated and
included in 'compilation time'. Or not?
--
Joe Wright
"Everything should be made as simple as possible, but not simpler."
--- Albert Einstein ---
Comment