www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/09/18/10:24:20

From: "Kim Seng" <Query AT singnet DOT com DOT sg>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help in my codes.
Date: Mon, 16 Sep 2002 11:57:15 +0800
Organization: Singapore Telecommunications Ltd
Lines: 35
Message-ID: <am3kfg$ve3$1@reader01.singnet.com.sg>
References: <am3jv2$vbr$1 AT reader01 DOT singnet DOT com DOT 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

FYI, my DJGPP is ver 2.03

Cheers.

"Kim Seng" <Query AT singnet DOT com DOT sg> 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.
>
>
>
>


- Raw text -


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