thanks for wonderful work.
my problem is very strange.
In vsiual c++ I want to use fuzzylite library to create a dll.
when I create my class that using library in the form (myclass.h , myclass.cpp)
the project compiles fine.
and fuzzylite headers are included in the myclass.h
but if i add (#include “stdafx.h”) at the top of myclass.cpp or add (#include “fl/Headers.h”) to the stdafx.h I get about 100 errors.
I solved problem .
the problem is because addition of windows.h in the file stdafx.h.
in that file there are macro definitions such as min and max that conflict with fuzzylite library.
by adding a #define NOMINMAX before that include problem solved the true way is:
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
// Windows Header Files:
Please, check the method Engine::configure(tnorm, snorm, implication, aggregation, defuzzifier). You should be able to do so: engine.configure("AlgebraicProduct", "Maximum", "Minimum", "Maximum", "Centroid"). Check QtFuzzyLite for more help.