conditional compilation fixes
This commit is contained in:
parent
5e416e4a1c
commit
1cf47e414e
6 changed files with 54 additions and 5 deletions
|
|
@ -6,10 +6,18 @@
|
||||||
// (see FirstBitGA.cpp) but now with Breeder - and Combined Ops
|
// (see FirstBitGA.cpp) but now with Breeder - and Combined Ops
|
||||||
//
|
//
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
// standard includes
|
// standard includes
|
||||||
#include <stdexcept> // runtime_error
|
#include <stdexcept> // runtime_error
|
||||||
#include <iostream> // cout
|
#include <iostream> // cout
|
||||||
|
#ifdef HAVE_SSTREAM
|
||||||
|
#include <sstream>
|
||||||
|
#else
|
||||||
#include <strstream> // ostrstream, istrstream
|
#include <strstream> // ostrstream, istrstream
|
||||||
|
#endif
|
||||||
|
|
||||||
// the general include for eo
|
// the general include for eo
|
||||||
#include <eo>
|
#include <eo>
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,18 @@
|
||||||
// (see FirstBitGA.cpp) but now with Breeder - and Combined Ops
|
// (see FirstBitGA.cpp) but now with Breeder - and Combined Ops
|
||||||
//
|
//
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
// standard includes
|
// standard includes
|
||||||
#include <stdexcept> // runtime_error
|
#include <stdexcept> // runtime_error
|
||||||
#include <iostream> // cout
|
#include <iostream> // cout
|
||||||
|
#ifdef HAVE_SSTREAM
|
||||||
|
#include <sstream>
|
||||||
|
#else
|
||||||
#include <strstream> // ostrstream, istrstream
|
#include <strstream> // ostrstream, istrstream
|
||||||
|
#endif
|
||||||
|
|
||||||
// the general include for eo
|
// the general include for eo
|
||||||
#include <eo>
|
#include <eo>
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,18 @@
|
||||||
// (see FirstBitGA.cpp) but now with Breeder - and Combined Ops
|
// (see FirstBitGA.cpp) but now with Breeder - and Combined Ops
|
||||||
//
|
//
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
// standard includes
|
// standard includes
|
||||||
#include <stdexcept> // runtime_error
|
#include <stdexcept> // runtime_error
|
||||||
#include <iostream> // cout
|
#include <iostream> // cout
|
||||||
|
#ifdef HAVE_SSTREAM
|
||||||
|
#include <sstream>
|
||||||
|
#else
|
||||||
#include <strstream> // ostrstream, istrstream
|
#include <strstream> // ostrstream, istrstream
|
||||||
|
#endif
|
||||||
|
|
||||||
// the general include for eo
|
// the general include for eo
|
||||||
#include <eo>
|
#include <eo>
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,19 @@
|
||||||
// but now you learn to enter the parameters in a more flexible way
|
// but now you learn to enter the parameters in a more flexible way
|
||||||
// and to twidle the output to your preferences!
|
// and to twidle the output to your preferences!
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
// standard includes
|
// standard includes
|
||||||
#include <stdexcept> // runtime_error
|
|
||||||
#include <iostream> // cout
|
|
||||||
#include <strstream> // ostrstream, istrstream
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
#include <iostream> // cout
|
||||||
|
#include <stdexcept> // runtime_error
|
||||||
|
#ifdef HAVE_SSTREAM
|
||||||
|
#include <sstream>
|
||||||
|
#else
|
||||||
|
#include <strstream> // ostrstream, istrstream
|
||||||
|
#endif
|
||||||
|
|
||||||
// the general include for eo
|
// the general include for eo
|
||||||
#include <eo>
|
#include <eo>
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,19 @@
|
||||||
// and to twidle the output to your preferences (as in SecondBitEA.cpp)
|
// and to twidle the output to your preferences (as in SecondBitEA.cpp)
|
||||||
//
|
//
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
// standard includes
|
// standard includes
|
||||||
#include <stdexcept> // runtime_error
|
#include <fstream>
|
||||||
#include <iostream> // cout
|
#include <iostream> // cout
|
||||||
|
#include <stdexcept> // runtime_error
|
||||||
|
#ifdef HAVE_SSTREAM
|
||||||
|
#include <sstream>
|
||||||
|
#else
|
||||||
#include <strstream> // ostrstream, istrstream
|
#include <strstream> // ostrstream, istrstream
|
||||||
|
#endif
|
||||||
|
|
||||||
// the general include for eo
|
// the general include for eo
|
||||||
#include <eo>
|
#include <eo>
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,19 @@
|
||||||
// but now you learn to enter the parameters in a more flexible way
|
// but now you learn to enter the parameters in a more flexible way
|
||||||
// and to twidle the output to your preferences!
|
// and to twidle the output to your preferences!
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
// standard includes
|
// standard includes
|
||||||
#include <stdexcept> // runtime_error
|
|
||||||
#include <iostream> // cout
|
|
||||||
#include <strstream> // ostrstream, istrstream
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
#include <iostream> // cout
|
||||||
|
#include <stdexcept> // runtime_error
|
||||||
|
#ifdef HAVE_SSTREAM
|
||||||
|
#include <sstream>
|
||||||
|
#else
|
||||||
|
#include <strstream> // ostrstream, istrstream
|
||||||
|
#endif
|
||||||
|
|
||||||
// the general include for eo
|
// the general include for eo
|
||||||
#include <eo>
|
#include <eo>
|
||||||
|
|
|
||||||
Reference in a new issue