[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Panda Bears will die, Sloths will live on
 
- From: Timothy Baldridge <tbaldridge@...>
 
- Date: Tue, 18 Oct 2011 15:00:34 -0500
 
>> int function(int a){
>>  int b;
>>  #include "other_file.h"
>>  return a + b;
>> }
>>
>> // other_file.h
>> b = 42;
>>
Yes that does work, never mind that that enables all sorts of
atrocities, and in general this pattern of programming should be
avoided.
Timothy
- References:
- Panda Bears will die, Sloths will live on, Patrick Mc(avery
 
- Re: Panda Bears will die, Sloths will live on, Jim Whitehead II
 
- Re: Panda Bears will die, Sloths will live on, Patrick Mc(avery
 
- Re: Panda Bears will die, Sloths will live on, joao lobato
 
- Re: Panda Bears will die, Sloths will live on, Gabriel Duarte