Pertanyaan tentang topik tersebut 'ifstream'
membaca baris dari ifstream menjadi variabel string
Dalam kode berikut:
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main() {
string x = "This is C++.";
ofstream of("d:/tester.txt");
of << x;
of.close();
ifstream...
170630 dilihat
schedule
16.11.2023