www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/24/12:16:31

From: jason_hsu AT my-deja DOT com (Jason Hsu)
Newsgroups: comp.os.msdos.djgpp
Subject: THANKS and a question on "using namespace std;"
Date: 24 Nov 2001 09:00:57 -0800
Organization: http://groups.google.com/
Lines: 13
Message-ID: <f7d9a152.0111240900.36cdb919@posting.google.com>
NNTP-Posting-Host: 24.18.171.165
X-Trace: posting.google.com 1006621257 23901 127.0.0.1 (24 Nov 2001 17:00:57 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 24 Nov 2001 17:00:57 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Martin Ambuhl: Thanks for your suggestion on adding the "using
namespace std;" line.  This was EXACTLY what I was looking for.  Now
my compiler recognizes the string functions of the "#include <string>"
line.

This answer raises new questions.  What exactly does "using namespace
std;" mean?  Why didn't I need it before on what I suspect was an
earlier version of DJGPP?  If a new version of DJGPP requiring this
line was added recently, why was the change necessary?  It threw me
for a loop.

Jason Hsu, AG4DG
jason_hsu@@@yahoo.com

- Raw text -


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