Looking for Об'єктно-орієнтоване програмування (1 курс КН) test answers and solutions? Browse our comprehensive collection of verified answers for Об'єктно-орієнтоване програмування (1 курс КН) at moodle.chnu.edu.ua.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
char s1 [] = "f1.txt"; char s2 [] = "f2.txt";
ifstream from (s1);
fstream to (s2, ios :: in | ios :: out);
char ch;
from.seekg ~;
from.get (ch);
to.seekp ~;
to.put (ch);
to.seekp (0);
while (to.get (ch))
cout << ch;
cout << endl;
(C++)
#include <iostream.h>
#include <fstream.h>
int main ()
{
int i = 5, j = 10; double a = 25; char s [40];
strcpy (s, "Test");
ofstream outfile ( "c: \ tst.txt");
if (! outfile)
{ Cout << "Помилка створення файлу";
return 1; }
outfile << i << '' << j << '' << a << '' << s << endl;
outfile.close ();
}
(C++)
monster * p;
demon * d;
При виконанні будь виразу завжди можна говорити, що втрати інформації не буде?
(C++)
(C++)
(C++)
(C++)
(C++)
(C++)
(C++)
(C++)