0
what is fileout<<ââblalalalalââ<<endl; ?
I donât understand why my teacher using file out instead of cout. And also the function petermeter of ostream&os mean?
4 Respostas
0
The console output you get when you use cout will be lost after the program finishes ots execution or whem you close the console window. Output in a file is save unless you delete the file or unless it gets overwritten. It's generally good practise to keep output data you want to use in long term session inside files (such as install logs, so user can see what went wrong in case the instalation program fails).
+ 2
Jan Ć tÄch then we have to create a file for that first using fstream library??
+ 1
Jan Ć tÄch Ok bro. thanks for informing
0
nAutAxH AhmAd Yes.