Thursday, November 29, 2018

File Input and File Output

Compare and contrast File Input and File Output. How are they similar? How are they different. What does the code look like for both? What do they do that's different?

They are similar by they both are both files in the program file folder and they also have the same library. The difference between them is, they have different declarations variables. and the main difference is one is an input and the other is an output. So without the input, you can't get the output. One big difference in the code is they are spelled. The input variable is spelled Ifstream and the output variable is spelled ofstream. 

No comments:

Post a Comment