From: "Kim Seng" Newsgroups: comp.os.msdos.djgpp Subject: Re: Help in my codes. Date: Mon, 16 Sep 2002 14:36:34 +0800 Organization: Singapore Telecommunications Ltd Lines: 32 Message-ID: References: NNTP-Posting-Host: 203.125.52.18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com FYI, DJGPP ver 2.03 is installed on Win 2k. "Kim Seng" wrote in message news:am3jv2$vbr$1 AT reader01 DOT singnet DOT com DOT sg... > Hi guys, > > Would need your help in these data codes? I tried to complie it in DJGPP bit > I was faced with some errors as below: > > ------------------Cut here------------------- > C:\DJGPP\mystuff>gxx program13.cc -o program13.exe -lm > program13.cc: In function `int main()': > program13.cc:14: use of `count' is ambiguous > program13.cc:7: first declared as `int count' here > c:/djgpp/lang/cxx-v3/bits/stl_algo.h:320: also declared as `typename > std::iterator_traits<_Iterator>::difference_type std::count(_InputIter, > _InputIter, const _Tp&)' here > program13.cc: In function `void func1()': > program13.cc:23: use of `count' is ambiguous > program13.cc:7: first declared as `int count' here > c:/djgpp/lang/cxx-v3/bits/stl_algo.h:320: also declared as `typename > std::iterator_traits<_Iterator>::difference_type std::count(_InputIter, > _InputIter, const _Tp&)' here > --------------Cut here--------------------- > > Thanks in advance. > > > >