CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: fs82
Forum: OpenFOAM Programming & Development January 14, 2010, 04:21
Replies: 5
Views: 2,881
Posted By fs82
Allright, I am more used to the Fortran language...

Allright, I am more used to the Fortran language and there is good style to close a file after one has finished working with it. I thought I have to do this too in C++, but as you mentioned the...
Forum: OpenFOAM Programming & Development January 13, 2010, 09:21
Replies: 5
Views: 2,881
Posted By fs82
No unfortunately not. dataStream.close()...

No unfortunately not.

dataStream.close() give the following error:

error: ‘class Foam::IFstream’ has no member named ‘close’

kind regards,
Fabian
Forum: OpenFOAM Programming & Development January 13, 2010, 08:44
Replies: 5
Views: 2,881
Posted By fs82
How to close a IFstream?

Hello,

I have a short question. I wrote my own converter for some field and I opened a file to read in some values:

fileName dataFile;

laserToFoamDict.lookup("datafile") >> dataFile;
...
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 08:53.