例如:ofstream out("file.dat",ios::out)ifstream out("file.dat",ios::out)ofstream out("file.dat",ios::in)ifstream out("file.dat",ios::in)有什么区别?
不管所有的语言,输入指的都是输入到内存,就是以读的方式输入到内存,输出指的是输出到文件,就是以写的方式输出到文件。