delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/09/18/10:39:51

From: "Kim Seng" <Query AT singnet DOT com DOT sg>
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: <am3jv2$vbr$1@reader01.singnet.com.sg>
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@/&EO<W1R96%M/@T*=7-I;F<@;F%M97-P86-E('-T9#L-"@T*
M=F]I9"!F=6YC,2 AT I DOT PT*=F]I9"!F=6YC,B AT I DOT PT*#0II;G0 AT 8V]U;G0[("\O
M(%1H:7,@:7,@82!G;&]B86P@=F%R:6%B;&4-"@T*:6YT(&UA:6XH*0T*>PT*
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@<F5T=7)N(# [#0I]#0H-"G9O:60 AT 9G5N8S$H*0T*
M>PT*(&-O=70@/#P@(F-O=6YT.B B(#P\(&-O=6YT.R O+R!A8V-E<W,@9VQO
M8F%L(&-O=6YT#0H AT 8V]U=" \/" G7&XG.R O+R!O=71P=70 AT 82!N97=L:6YE
M#0H AT 9G5N8S(H*3L-"GT-"@T*=F]I9"!F=6YC,B AT I#0I[#0H@:6YT(&-O=6YT
M.R O+R!T:&ES(&ES(&$@;&]C86P@=F%R:6%B;&4-"@T*(&9O<BAC;W5N=#TP
H.R!C;W5N=#PS.R!C;W5N="LK*2!C;W5T(#P\("<N)SL-"@T*?0T*( ``
`
end

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019