12.06.2015 Views

The Annoyance Filter.pdf - Fourmilab

The Annoyance Filter.pdf - Fourmilab

The Annoyance Filter.pdf - Fourmilab

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

§232 ANNOYANCE-FILTER HEADER INCLUDE FILES 185<br />

232. Header include files.<br />

<strong>The</strong> following include files provide access to system and library components.<br />

〈 Include header files 232 〉 ≡<br />

#include "config.h" /∗ Configuration definitions from ./configure ∗/<br />

〈 Tweak configuration when building for Win32 238 〉<br />

〈 C++ standard library include files 233 〉<br />

〈 C library include files 234 〉<br />

〈 Conditional C library include files 235 〉<br />

#ifdef WIN32<br />

#define __GNU_LIBRARY__<br />

#undef __GETOPT_H__<br />

#endif<br />

#include "getopt.h" /∗ Use our own getopt , which supports getopt long ∗/<br />

#include "statlib.h" /∗ Statistical library ∗/<br />

〈 Configuration of conditional capabilities 237 〉<br />

〈 Network library include files 236 〉<br />

This code is used in section 254.<br />

233. We use the following C++ standard library include files. Note that current C++ theology<br />

prescribes that these files not bear the traditional .h extension; since some libraries have gotten it into<br />

their pointy little heads to natter about this, we conform. If you’re using an older C++ system, you may<br />

have to restore the .h extension if one or more of these come up “not found”.<br />

〈 C++ standard library include files 233 〉 ≡<br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#ifdef HAVE_FDSTREAM_COMPATIBILITY<br />

#include "fdstream.hpp"<br />

#endif<br />

#ifdef HAVE_NEW_STRSTREAM<br />

#include "mystrstream_new.h"<br />

#else<br />

#include "mystrstream.h"<br />

#endif<br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

using namespace std;<br />

This code is used in section 232.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!