Article View: be.comp.programming
Article #16421c++ fstream.open(string);
From: Bert Salaets
Date: Sun, 07 May 2000 00:00
Date: Sun, 07 May 2000 00:00
17 lines
1098 bytes
1098 bytes
Is er een manier om een filename aan te geven mbv een string?
Dit werkt dus niet
void functie()
{
string filename;
filename = "filename.ext";
ifstream iets;
iets.open(filename); //Dit werkt dus niet
iets.close(filename);
return;
}
Danku...
Bert.salaets@student.groept.be
Technical Details
Message-ID:
<39159447.C5FFD09C@student.groept.be>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,6aabea9a7f805869,start X-Google-Attributes: gidfcea4,public From: Bert Salaets <bert.salaets@student.groept.be> Subject: c++ fstream.open(string); Date: 2000/05/07 Message-ID: <39159447.C5FFD09C@student.groept.be> X-Deja-AN: 620309727 Cache-Post-Path: marvin!unknown@tvd-10-67-16-034.tvd.kotnet.kuleuven.ac.be Content-Transfer-Encoding: 7bit X-Accept-Language: en,pdf Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@belnet.be X-Trace: naxos.belnet.be 957715687 12648 134.58.127.3 (7 May 2000 16:08:07 GMT) Organization: KULeuvenNet X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Mime-Version: 1.0 NNTP-Posting-Date: 7 May 2000 16:08:07 GMT Newsgroups: be.comp.programming