Solved

fstream.h

Posted on 1998-12-28
2
192 Views
Last Modified: 2010-04-02
Where can I find more information on the fstream header file?

I know eof() checks for end of file, get() reads in a char, etc, but where can I find the list of what all the functions of the class do?

Trying to break away from C filehandling and get into this, because I've heard its better.

Thanks! - Magecast
0
Comment
Question by:magecast
2 Comments
 
LVL 5

Expert Comment

by:yonat
Comment Utility
The IOStreams Handbook has detailed explanations about this. However, it is a bit dated and there were some changes made since then.

For an online source, try http://www.dinkumware.com/htm_cpl/fstream.html .

Also, you can try the documantion that comes with your compiler...
0
 

Accepted Solution

by:
gene2000 earned 30 total points
Comment Utility
Hi
Use your tools menu in your explorer menu to find ".h" files and print the fstream.h file
or which ever one you want this will give you exact contents of the header and what to expect. Gene2000
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now