delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/23/22:03:03

From: "Chris" <anthropomorphic1 AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: transform
Date: Sun, 23 Sep 2001 21:58:02 -0400
Lines: 24
Message-ID: <9om405$dvjgq$1@ID-107925.news.dfncis.de>
NNTP-Posting-Host: pool-151-197-195-211.phil.east.verizon.net (151.197.195.211)
X-Trace: fu-berlin.de 1001296709 14667290 151.197.195.211 (16 [107925])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

i just installed the DJGPP 3.0 i believe.
it has these files in it  gcc30b.zip gpp30b.zip
 i got some things to compile but I couldn't get
this piece to compile does anybody have any idea
why this wouldn't
I get an ERROR  no matching function for call to
transform etc

#include <iostream>
#include <algorithm>
#include <cctype>
#include <string>
using namespace std;
int main()
{
string s = ("HELLO");

transform(s.begin(),s.end(),s.begin(),tolower);

  cout<<s<<endl;
}



- Raw text -


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