🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #16048

Re: c++ fstream.open(string);

#16048
From: root
Date: Thu, 29 Jun 2000 00:00
23 lines
1268 bytes


>Dit is zeker java of je gebruikt een stringclass?  Soit, in c++

dit is belange geen java hoor !!!

zo zou het er meer o lijken :-)  :

public static void function() {
try{
	File file = new File("data.dat"");
	FileInputStream instream = new FileInputStream(file);
	DataInputStream datain = new DataInputstream(instream);

	int a = datain.readInt();
	double b = datain.readDouble();

	datain.close();
}
catch(IOException e){}

}
Technical Details
Message-ID: <395a90c0.830076827@news.kuleuven.ac.be>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39159447.C5FFD09C@student.groept.be> <2sp5f8.ep.ln@localhost.localdomain>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcea4,6aabea9a7f805869
X-Google-Attributes: gidfcea4,public
From: root@crackerz.org
Subject: Re: c++ fstream.open(string);
Date: 2000/06/29
Message-ID: <395a90c0.830076827@news.kuleuven.ac.be>
X-Deja-AN: 640201198
Cache-Post-Path: marvin!unknown@kn-10-0-8-98.kotnet.kuleuven.ac.be
Content-Transfer-Encoding: 8bit
References: <39159447.C5FFD09C@student.groept.be> <2sp5f8.ep.ln@localhost.localdomain>
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: abuse@belnet.be
X-Trace: naxos.belnet.be 962237018 13446 134.58.127.3 (29 Jun 2000 00:03:38 GMT)
Organization: KULeuvenNet
X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)
Mime-Version: 1.0
NNTP-Posting-Date: 29 Jun 2000 00:03:38 GMT
Newsgroups: be.comp.programming