Sign in to follow this  
AdamGL

FILE and fstream

Recommended Posts

Quote:
Original post by AdamGL
What is the difference between the STDIO.h FILE class and the iostream fstream class? Is one faster, more efficient?


c++ fstreams are be a bit safer to use, and any difference between them ( if there is one ) would be inconsequential compared to the cost of disk access.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this