I am trying to make a text editor using console and char array strings.
If this isn't possible, tell me now My error code is as follows:
Code:char fileName; cout << "What do you want you're .editor to be today?\n"; cin.getline ( fileName, 100, ' '); ofstream file(fileName ".editor");
The compiler error is 'expected ) before string constant'
Is it possible to use c style strings in this case?