1 2 3 4 5 6 7 8 9 10
#include <iostream> using namespace std; int main() { char* filename1 = new char[]; cout << "Введiть назву файла для читання: " << endl; cin >> filename1; return 0; }
1 2 3
In function 'int main()': Line 6: error: expected primary-expression before ']' token compilation terminated due to -Wfatal-errors.