FILE and fstream
What is the difference between the STDIO.h FILE class and the iostream fstream class? Is one faster, more efficient?
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement