<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2>I've problems with compilation of example
ex11.c.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If I define NO_STREAMS in gaconfig.h there are 3
errors:</FONT></DIV>
<DIV><FONT face=Arial size=2>in line </FONT></DIV>
<DIV><FONT face=Arial size=2> cout << genome.score()
<< "):\n" << genome << "\n";</FONT></DIV>
<DIV><FONT face=Arial size=2> [C++ Error]
GAProg.cpp(93): E2094 'operator<<' not implemented in type '_STL::ostream'
for arguments of type 'GAListGenome<int>'</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>in line </FONT></DIV>
<DIV><FONT face=Arial size=2> cout <<
ga.parameters() << "\n";<BR> [C++ Error]
GAProg.cpp(95): E2094 'operator<<' not implemented in type '_STL::ostream'
for arguments of type 'GAParameterList'</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>and in </FONT></DIV>
<DIV><FONT size=2><FONT face=Arial>int
GAListGenome<int>::write(std::ostream & os) const<BR>{ ...
}</FONT><BR><FONT face=Arial> [C++ Error] GAProg.cpp(159): E2316
'GAListGenome<int>::write(_STL::ostream &) const' is not a member of
'GAListGenome<int>'</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>and if I DON'T define NO_STREAMS in gaconfig.h
there are 26 errors like this :)) :</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> [Linker Error] Unresolved external
'GAParameterList::~GAParameterList()' referenced from C:\PROGRAM
FILES\BORLAND\CBUILDER6\PROJECTS\GAPROG.OBJ<BR> [Linker Error] Unresolved
external 'GAListGenome<int>::~GAListGenome<int>()' referenced from
C:\PROGRAM
FILES\BORLAND\CBUILDER6\PROJECTS\GAPROG.OBJ<BR> .......</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>HEEEEEEEEEEEEEEEEEEEEEEEEEEEEEELP!!!!</FONT></DIV>
<DIV><FONT face=Arial><FONT size=2>Can anyone advise me how to solve this
problems??</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2>Marcio</FONT></DIV>
<DIV><BR></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>