From: "Kim Seng" Newsgroups: comp.os.msdos.djgpp Subject: Help in my codes. Date: Mon, 16 Sep 2002 11:48:28 +0800 Organization: Singapore Telecommunications Ltd Lines: 40 Message-ID: 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 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. begin 666 Program13.cc M(VEN8VQU9&4@/&EOPT* M(&EN="!I.R O+R!4:&ES(&ES(&$@;&]C86P@=F%R:6%B;&4-"B -"B!F;W(H M:3TP.R!I/#$P.R!I*RLI('L-"B @(&-O=6YT(#T@:2 J(#([#0H@("!F=6YC M,2 AT I DOT PT*(" @?0T*#0H@PT*(&-O=70@/#P@(F-O=6YT.B B(#P\(&-O=6YT.R O+R!A8V-E