<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
tt
{mso-style-priority:99;
font-family:"Courier New";}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1028" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hey. I use the newest version of BigInteger(</span><tt><span lang=EN-US style='font-size:10.0pt'>bigint-2010.04.30) with this code:<o:p></o:p></span></tt></p><p class=MsoNormal><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter" />
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0" />
<v:f eqn="sum @0 1 0" />
<v:f eqn="sum 0 0 @1" />
<v:f eqn="prod @2 1 2" />
<v:f eqn="prod @3 21600 pixelWidth" />
<v:f eqn="prod @3 21600 pixelHeight" />
<v:f eqn="sum @0 0 1" />
<v:f eqn="prod @6 1 2" />
<v:f eqn="prod @7 21600 pixelWidth" />
<v:f eqn="sum @8 21600 0" />
<v:f eqn="prod @7 21600 pixelHeight" />
<v:f eqn="sum @10 21600 0" />
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" />
<o:lock v:ext="edit" aspectratio="t" />
</v:shapetype><v:shape id="_x0000_s1027" type="#_x0000_t75" alt="#include <iostream>
#include "bigint_include\BigIntegerLibrary.hh"
using namespace std;
#define MAX 6
BigInteger fib(int n)
{
BigInteger fib_arr[MAX+1];
int i;
fib_arr[0]=0;
fib_arr[1]=1;
for(i=2;i<=n;i++){
fib_arr[i]=fib_arr[i-1]+fib_arr[i-2];
}
return fib_arr[n-1];
}
int main(){
cout << fib(MAX) << endl;
system("pause");
return 0;
}
" style='position:absolute;margin-left:0;margin-top:0;width:286.5pt;height:270.75pt;z-index:251659264;visibility:visible;mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0;mso-position-horizontal:absolute;mso-position-horizontal-relative:text;mso-position-vertical:absolute;mso-position-vertical-relative:text'>
<v:imagedata src="cid:image001.emz@01CCCA69.076C80F0" o:title="" />
<w:wrap type="square"/>
</v:shape><![endif]--><![if !vml]><img width=478 height=451 src="cid:image002.png@01CCCA69.076C80F0" align=left hspace=12 alt="#include <iostream>
#include "bigint_include\BigIntegerLibrary.hh"
using namespace std;
#define MAX 6
BigInteger fib(int n)
{
BigInteger fib_arr[MAX+1];
int i;
fib_arr[0]=0;
fib_arr[1]=1;
for(i=2;i<=n;i++){
fib_arr[i]=fib_arr[i-1]+fib_arr[i-2];
}
return fib_arr[n-1];
}
int main(){
cout << fib(MAX) << endl;
system("pause");
return 0;
}
" v:shapes="_x0000_s1027"><![endif]><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal style='text-indent:35.4pt'><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal style='text-indent:35.4pt'><span lang=EN-US>When I try to compile it with Microsoft Visual Studio C++ 2010 express, I receive those errors:<o:p></o:p></span></p><p class=MsoNormal style='text-indent:35.4pt'><!--[if gte vml 1]><v:shape id="_x0000_s1026" type="#_x0000_t75" alt="1>------ Erstellen gestartet: Projekt: bigint, Konfiguration: Debug Win32 ------
1> main.cpp
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: void __thiscall BigInteger::operator=(class BigInteger const &)" (??4BigInteger@@QAEXABV0@@Z)" in Funktion ""class BigInteger __cdecl fib(int)" (?fib@@YA?AVBigInteger@@H@Z)".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: __thiscall BigInteger::BigInteger(int)" (??0BigInteger@@QAE@H@Z)" in Funktion ""class BigInteger __cdecl fib(int)" (?fib@@YA?AVBigInteger@@H@Z)".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: void __thiscall BigInteger::add(class BigInteger const &,class BigInteger const &)" (?add@BigInteger@@QAEXABV1@0@Z)" in Funktion ""public: class BigInteger __thiscall BigInteger::operator+(class BigInteger const &)const " (??HBigInteger@@QBE?AV0@ABV0@@Z)".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,class BigInteger const &)" (??6@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AAV01@ABVBigInteger@@@Z)" in Funktion "_main".
1>C:\Users\Thierry\Documents\Visual Studio 2010\Projects\bigint\Debug\bigint.exe : fatal error LNK1120: 4 nicht aufgelöste externe Verweise.
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========
" style='position:absolute;left:0;text-align:left;margin-left:0;margin-top:0;width:1119pt;height:127.5pt;z-index:251661312;visibility:visible;mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0;mso-position-horizontal:absolute;mso-position-horizontal-relative:text;mso-position-vertical:absolute;mso-position-vertical-relative:text'>
<v:imagedata src="cid:image003.emz@01CCCA69.076C80F0" o:title="" />
<w:wrap type="square"/>
</v:shape><![endif]--><![if !vml]><img width=1865 height=212 src="cid:image004.png@01CCCA69.076C80F0" align=left hspace=12 alt="1>------ Erstellen gestartet: Projekt: bigint, Konfiguration: Debug Win32 ------
1> main.cpp
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: void __thiscall BigInteger::operator=(class BigInteger const &)" (??4BigInteger@@QAEXABV0@@Z)" in Funktion ""class BigInteger __cdecl fib(int)" (?fib@@YA?AVBigInteger@@H@Z)".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: __thiscall BigInteger::BigInteger(int)" (??0BigInteger@@QAE@H@Z)" in Funktion ""class BigInteger __cdecl fib(int)" (?fib@@YA?AVBigInteger@@H@Z)".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: void __thiscall BigInteger::add(class BigInteger const &,class BigInteger const &)" (?add@BigInteger@@QAEXABV1@0@Z)" in Funktion ""public: class BigInteger __thiscall BigInteger::operator+(class BigInteger const &)const " (??HBigInteger@@QBE?AV0@ABV0@@Z)".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,class BigInteger const &)" (??6@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AAV01@ABVBigInteger@@@Z)" in Funktion "_main".
1>C:\Users\Thierry\Documents\Visual Studio 2010\Projects\bigint\Debug\bigint.exe : fatal error LNK1120: 4 nicht aufgelöste externe Verweise.
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========
" v:shapes="_x0000_s1026"><![endif]><o:p></o:p></p><p class=MsoNormal style='text-indent:35.4pt'><span lang=EN-US> I don’t know if it’s a bug or I made an error…<o:p></o:p></span></p><p class=MsoNormal style='text-indent:35.4pt'><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal style='text-indent:35.4pt'><span lang=EN-US>Thanks, Thierry Backes<o:p></o:p></span></p></div></body></html>