From 9860e201f24f7663dc7b933f30aa54586aae45af Mon Sep 17 00:00:00 2001 From: jmerelo Date: Tue, 9 Feb 1999 17:31:16 +0000 Subject: [PATCH] New bitOp factories and things like that --- eo/src/eoBin.h | 19 ++---- eo/src/{eoBinOp.h => eoBitOp.h} | 15 +++-- eo/src/eoBitOpFactory.h | 101 ++++++++++++++++++++++++++++++++ eo/src/eoOpFactory.h | 4 +- eo/win/EO.dsw | 12 ++++ eo/win/t_eobin.dsp | 101 ++++++++++++++++++++++++++++++++ eo/win/t_eobitfact.dsp | 101 ++++++++++++++++++++++++++++++++ eo/win/t_lottery.dsp | 101 ++++++++++++++++++++++++++++++++ 8 files changed, 435 insertions(+), 19 deletions(-) rename eo/src/{eoBinOp.h => eoBitOp.h} (98%) create mode 100644 eo/src/eoBitOpFactory.h create mode 100644 eo/win/t_eobin.dsp create mode 100644 eo/win/t_eobitfact.dsp create mode 100644 eo/win/t_lottery.dsp diff --git a/eo/src/eoBin.h b/eo/src/eoBin.h index 2382b8ce..85574a08 100644 --- a/eo/src/eoBin.h +++ b/eo/src/eoBin.h @@ -10,22 +10,15 @@ #include // ostream, istream #include // bind2nd -#if defined( _MSC_VER ) || defined( __BCPLUSPLUS__ ) // -#include // -typedef vector bit_vector; // bit_vector -#else // -#include // -#endif // - #include // string -#include // EO +#include // EO //----------------------------------------------------------------------------- -/// eoBin: implementation of binary chromosome. -/// based on STL's bit_vector (vector) +/** eoBin: implementation of binary chromosome. + based on STL's bit_vector (vector)*/ //----------------------------------------------------------------------------- -template class eoBin: public EO, public bit_vector +template class eoBin: public eoVector { public: typedef bool Type; @@ -33,11 +26,11 @@ template class eoBin: public EO, public bit_vector /// (Default) Constructor. /// @param size Size of the binary string. eoBin(const unsigned& size = 0, const bool& value = false): - bit_vector(size, value) {} + eoVector(size, value) {} /// (Default) Constructor. /// @param size Size of the binary string. - eoBin(const unsigned& size, const eoRnd& rnd): bit_vector(size) + eoBin(const unsigned& size, const eoRnd& rnd): eoVector(size) { generate(begin(), end(), rnd); } diff --git a/eo/src/eoBinOp.h b/eo/src/eoBitOp.h similarity index 98% rename from eo/src/eoBinOp.h rename to eo/src/eoBitOp.h index 4708f2ab..1b1cda9f 100644 --- a/eo/src/eoBinOp.h +++ b/eo/src/eoBitOp.h @@ -1,14 +1,21 @@ //----------------------------------------------------------------------------- -// eoBinOp.h +// eoBitOp.h //----------------------------------------------------------------------------- -#ifndef eoBinOp_h -#define eoBinOp_h +#ifndef eoBitOp_h +#define eoBitOp_h //----------------------------------------------------------------------------- #include // eoBin #include // eoMonOp + +#ifndef min +#define min _MIN +#endif +#ifndef max +#define max _MAX +#endif //----------------------------------------------------------------------------- // eoBinRandom --> mofify a chromosome in a random way @@ -340,4 +347,4 @@ template class eoBinUxOver: public eoBinOp //----------------------------------------------------------------------------- -#endif eoBinOp_h +#endif eoBitOp_h diff --git a/eo/src/eoBitOpFactory.h b/eo/src/eoBitOpFactory.h new file mode 100644 index 00000000..6ccda585 --- /dev/null +++ b/eo/src/eoBitOpFactory.h @@ -0,0 +1,101 @@ +// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- + +//----------------------------------------------------------------------------- +// eoOpFactory.h +// (c) GeNeura Team, 1998 +//----------------------------------------------------------------------------- + +#ifndef _EOBITOPFACTORY_H +#define _EOBITOPFACTORY_H + +#include +#include + +//----------------------------------------------------------------------------- + +/** EO Factory. An instance of the factory class to create operators that act +on bitstring chromosomes. Only those chromosomes can instantiate the operators +that are created here +@see eoSelect*/ +template< class EOT> +class eoBitOpFactory: public eoOpFactory { + +public: + + /// @name ctors and dtors + //{@ + /// constructor + eoBitOpFactory( ) {}; + + /// destructor + virtual ~eoBitOpFactory() {}; + //@} + + /** Another factory method: creates an object from an istream, reading from + it whatever is needed to create the object. Usually, the format for the istream will be\\ + objectType parameter1 parameter2 ... parametern\\ + If there are problems, an exception is raised; it should be caught at the + upper level, because it might be something for that level\\ + At the same time, it catches exceptions thrown at a lower level, which will + indicate that whatever is in the stream is for this method to process + @param _is an stream from where a single line will be read + @throw runtime_exception if the object type is not known + */ + virtual eoOp* make(istream& _is) { + eoOp * opPtr = NULL; + try { + opPtr = eoOpFactory::make( _is ); + } catch ( string& objectTypeStr ) { + if ( objectTypeStr == "eoBinRandom") { + opPtr = new eoBinRandom(); + } + if ( objectTypeStr == "eoBinBitFlip" ) { + opPtr = new eoBinBitFlip( ); + } + if ( objectTypeStr == "eoBinMutation" ) { + float rate; + _is >> rate; + opPtr = new eoBinMutation( rate ); + } + if ( objectTypeStr == "eoBinInversion" ) { + opPtr = new eoBinInversion( ); + } + if ( objectTypeStr == "eoBinNext" ) { + opPtr = new eoBinNext( ); + } + if ( objectTypeStr == "eoBinPrev" ) { + opPtr = new eoBinPrev( ); + } + if ( objectTypeStr == "eoBinNext" ) { + opPtr = new eoBinNext( ); + } + if ( objectTypeStr == "eoBinCrossover" ) { + opPtr = new eoBinCrossover( ); + } + if ( objectTypeStr == "eoBinNxOver" ) { + unsigned nPoints; + _is >> nPoints; + opPtr = new eoBinNxOver( nPoints ); + } + if ( objectTypeStr == "eoBinGxOver" ) { + unsigned geneSize, nPoints; + _is >> geneSize >> nPoints; + opPtr = new eoBinGxOver( geneSize, nPoints ); + } + if ( objectTypeStr == "eoBinUxOver" ) { + float rate; + _is >> rate; + opPtr = new eoBinUxOver( rate ); + } + if ( !opPtr ) { // to be caught by the upper level + throw objectTypeStr; + } + } + return opPtr; + }; + + +}; + + +#endif _EOBITOPFACTORY_H diff --git a/eo/src/eoOpFactory.h b/eo/src/eoOpFactory.h index 661965d5..540e68d8 100644 --- a/eo/src/eoOpFactory.h +++ b/eo/src/eoOpFactory.h @@ -41,7 +41,7 @@ public: @throw runtime_exception if the object type is not known */ virtual eoOp* make(istream& _is) { - eoOp * opPtr; + eoOp * opPtr = NULL; string objectTypeStr; _is >> objectTypeStr; if ( objectTypeStr == "eoDup") { @@ -57,7 +57,7 @@ public: opPtr = new eoXOver2( ); } if ( !opPtr ) { - throw runtime_error( "Incorrect selector type" ); + throw objectTypeStr; } return opPtr; } diff --git a/eo/win/EO.dsw b/eo/win/EO.dsw index 8ef52e62..1feab840 100644 --- a/eo/win/EO.dsw +++ b/eo/win/EO.dsw @@ -51,6 +51,18 @@ Package=<4> ############################################################################### +Project: "t_eobitfact"=.\t_eobitfact.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + Project: "t_eoid"=.\t_eoid.dsp - Package Owner=<4> Package=<5> diff --git a/eo/win/t_eobin.dsp b/eo/win/t_eobin.dsp new file mode 100644 index 00000000..cd86ffba --- /dev/null +++ b/eo/win/t_eobin.dsp @@ -0,0 +1,101 @@ +# Microsoft Developer Studio Project File - Name="t_eobin" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=t_eobin - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "t_eobin.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "t_eobin.mak" CFG="t_eobin - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "t_eobin - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "t_eobin - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "t_eobin - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD BASE RSC /l 0xc0a /d "NDEBUG" +# ADD RSC /l 0xc0a /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 + +!ELSEIF "$(CFG)" == "t_eobin - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "t_eobin___Win32_Debug" +# PROP BASE Intermediate_Dir "t_eobin___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "t_eobin___Win32_Debug" +# PROP Intermediate_Dir "t_eobin___Win32_Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0xc0a /d "_DEBUG" +# ADD RSC /l 0xc0a /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 eo.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "t_eobin - Win32 Release" +# Name "t_eobin - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE="..\test\t-eobin.cpp" +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/eo/win/t_eobitfact.dsp b/eo/win/t_eobitfact.dsp new file mode 100644 index 00000000..2e0e10f3 --- /dev/null +++ b/eo/win/t_eobitfact.dsp @@ -0,0 +1,101 @@ +# Microsoft Developer Studio Project File - Name="t_eobitfact" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=t_eobitfact - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "t_eobitfact.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "t_eobitfact.mak" CFG="t_eobitfact - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "t_eobitfact - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "t_eobitfact - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "t_eobitfact - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD BASE RSC /l 0xc0a /d "NDEBUG" +# ADD RSC /l 0xc0a /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 + +!ELSEIF "$(CFG)" == "t_eobitfact - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "t_eobitfact___Win32_Debug" +# PROP BASE Intermediate_Dir "t_eobitfact___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "t_eobitfact___Win32_Debug" +# PROP Intermediate_Dir "t_eobitfact___Win32_Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /YX /FD /GZ /c +# ADD BASE RSC /l 0xc0a /d "_DEBUG" +# ADD RSC /l 0xc0a /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 eo.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "t_eobitfact - Win32 Release" +# Name "t_eobitfact - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\test\t_eobitfact.cpp +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/eo/win/t_lottery.dsp b/eo/win/t_lottery.dsp new file mode 100644 index 00000000..b06d1ac4 --- /dev/null +++ b/eo/win/t_lottery.dsp @@ -0,0 +1,101 @@ +# Microsoft Developer Studio Project File - Name="t_lottery" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=t_lottery - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "t_lottery.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "t_lottery.mak" CFG="t_lottery - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "t_lottery - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "t_lottery - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "t_lottery - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD BASE RSC /l 0xc0a /d "NDEBUG" +# ADD RSC /l 0xc0a /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 + +!ELSEIF "$(CFG)" == "t_lottery - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "t_lottery___Win32_Debug" +# PROP BASE Intermediate_Dir "t_lottery___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "t_lottery___Win32_Debug" +# PROP Intermediate_Dir "t_lottery___Win32_Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0xc0a /d "_DEBUG" +# ADD RSC /l 0xc0a /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 eo.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "t_lottery - Win32 Release" +# Name "t_lottery - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE="..\test\t-eolottery.cpp" +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project